Cascader
Select items from hierarchical data using drill-down, columns, search and multiple selection.
Installation
Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.
Copy an example into your project with the shadcn CLI: npx shadcn@latest add https://design.gaudi.site/r/cascader-async-drill-down.json.
Usage
Examples
Async drill-down
Avatars and role badges
Columns mode
Controlled state
Drill-down picker
Form field
Multi-select with chips and presets
Cascading tree in a popover
Recently used groups
Translated labels
Two-line rows with branch colours
Virtualized rows
API
12 props
Accessibility
Keep loading and failure messages in the panel. Keyboard users need a clear path back to a parent and a named trigger.
Notes
- The asynchronous examples demonstrate cancellation, remote lookup and recovery without replacing the current selection.
Related
SelectSelect renders a styled option picker with searchable combobox behavior and multi-select support.20 examplesPillPill renders compact category and status labels.4 examplesFieldField composes form label, description, error, and input building blocks.7 examplesAvatarProfile images, resilient initials, presence, verification, account menus and collaborator groups. The existing Avatar API and curated patterns share the same image and fallback primitives.10 examplesIconStatic and interactive artwork from Gaudi’s centralized icon registry. AnimatedIcon adds opt-in motion with shared size and color tokens, a searchable catalogue, and host-controlled activation.5 examplesToggleGroupSingle or multiple pressed choices for view modes and compact formatting controls.6 examples