Skip to content

Cascader-Shadcn

A cascading dropdown for picking nested options such as locations, categories or org units.

cascader-shadcn.surge.sh

Cascader-Shadcn website screenshot
Added
GitHub stars
115
License
MIT
Price
Free

About

About Cascader-Shadcn

Cascader-Shadcn is a cascading dropdown for choosing a value from nested data, such as country, state and city, or category trees and organizational structures. It is inspired by the Cascader components in Ant Design and React Suite. Options are objects with a value, a label and optional children. Features include click or hover expansion, icons and custom labels, custom display rendering, and disabling single options or the whole control.

Install it with the shadcn CLI using the cascader.json URL from the demo site, or copy Cascader.tsx into your components directory. Then import Cascader, pass options and an onChange handler that receives the value and selected options. The repository is MIT licensed. It suits address forms, category pickers and any select with more than one level.

Cascader-Shadcn features

6 features

  • Hierarchical cascading menu
  • Click or hover expansion
  • Icons and custom labels
  • Custom display rendering
  • Disable per option or entire control
  • Default value and controlled modes

Install Cascader-Shadcn

1 command

Terminal

$ npx shadcn@latest add https://cascader-shadcn.surge.sh/r/cascader.json

What you can build with Cascader-Shadcn

3 use cases

  • Picking country, state and city in an address form
  • Choosing a product category from a deep tree
  • Selecting a team within an organization hierarchy

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What Cascader-Shadcn is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro