Skip to content
S

shadcn-country-dropdown

ISO 3166 country selector dropdown

Open source

#1855in UI Libraries
0In stores

Description

shadcn-country-dropdown is a country selector for React that follows the ISO 3166 standard and is built with shadcn/ui. It uses the Popover…

Highlights

  • Searchable country dropdown built on shadcn/ui
  • ISO 3166 codes in alpha-2 and alpha-3
  • Flags from react-circle-flags
  • Slim, multiple and form examples
  • Installs with the shadcn CLI

Ratings & Reviews

No ratings yet

Be the first to rate shadcn-country-dropdown.

People also visit

R

react-flags-select

react-flags-select React component

UI Libraries
Launch
S

shadcn-iconpicker

React/shadcn simple icon picker using lucide icons

UI Libraries
Launch
F

flagcn

Accessible, source-owned flag components for shadcn/ui

UI Libraries
Launch
S

shadcn-dropzone

Ready to use File Upload Dropzone component,

UI Libraries
Launch
F

formscn

Production-ready shadcn/ui forms visually with drag-and-drop

UI Libraries
Launch
R

registry.directory

A curated directory to discover, preview, and copy shadcn/ui registries

UI Libraries
Launch

shadcn-country-dropdown FAQ

What is shadcn-country-dropdown?

A country selector for React that follows ISO 3166 and is built with shadcn/ui components.

Which country codes does it use?

The country data comes from country-data-list, which provides ISO 3166-1 alpha-2 and alpha-3 codes.

How do I install it?

Add the react-circle-flags and country-data-list packages, add the shadcn button, command and popover components, then copy the country-dropdown component into your project.

Is there a multiple select?

Yes. The demo includes a Multiple example, along with Slim and Form examples.

What are the best shadcn-country-dropdown alternatives?

Popular alternatives to shadcn-country-dropdown include react-flags-select, shadcn-iconpicker and flagcn. See all shadcn-country-dropdown alternatives

Developer Stuff

Badges