Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 733 Bytes

File metadata and controls

26 lines (16 loc) · 733 Bytes

Language selector with Tailwind and flag-icons

This is an example of using Next.js with Tailwind CSS and SimpleLocalize with flag-icons for language selector.

Preview

Preview

Selector code is in src/components/LanguageSelector.tsx and src/components/LanguageSelector.module.css

Running locally

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.