latapals-flags
v0.0.1
Published
A versatile flag set with around 500 flags for countries, languages, and more!
Downloads
4
Readme
⛳ Latapals Flags
A versatile flag set with around 500 flags for countries, languages, and more!
Installation
To install dependencies:
bun install latapals-flags
Usage
To use the flags, simply import the flag you want to use:
import { UnitedStates } from "latapals-flags";
and use it in your component, you can also pass in props to the flag and define the size:
<UnitedStates size={32} className="border-2 border-blue-500" />
All flags
You can find all flags in the svg
folder.
Adding custom flags
To add custom flags, follow these steps:
- Fork the repository.
- Install dependencies with
bun install
- Throw the SVG of your flag into the SVG folder
- Run
bun run build
- Push
Contributing
Please see our contribution guidelines. Latapals Flags is an open-source project.
Note: Some flags have not been included in this library due to their sensitive nature, for the full list of flags, please visit flags.lata.dev