Back to Components
Settings
Language Selector
Dropdown for selecting a language with search filter and flag icons.
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/language-selector.tsx
Installation
Using shadcn CLI
npx shadcn add language-selector --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge