An open API service indexing awesome lists of open source software.

https://github.com/zeljkovranjes/solid-circle-flags

SolidJS component with 300+ minimal circular SVG country flags, wrapped from HatScripts/circle-flags
https://github.com/zeljkovranjes/solid-circle-flags

component flags npm npm-package pnpm solid solidjs solidjs-component solidjs-component-library typescript

Last synced: 10 months ago
JSON representation

SolidJS component with 300+ minimal circular SVG country flags, wrapped from HatScripts/circle-flags

Awesome Lists containing this project

README

          

# solid-circle-flags

[![npm package](https://img.shields.io/npm/v/posthog-js?style=flat-square)](https://www.npmjs.com/package/posthog-js)
[![MIT License](https://img.shields.io/badge/License-MIT-red.svg?style=flat-square)](https://opensource.org/licenses/MIT)

SolidJS component with 300+ minimal circular SVG country flags.

## Quick start

Install it:

```bash
npm i solid-circle-flags
# or
yarn add solid-circle-flags
# or
pnpm add solid-circle-flags
```

Use it:

```tsx
import { CircleFlag, CircleFlagLanguage } from 'solid-circle-flags';

// Using default cdn

// With custom cdn
// You can also set the CDN via the 'VITE_PUBLIC_CIRCLE_FLAGS_CDN_URL' env.
// Do not set the cdn={} if you plan on using the env

```