Cascader
Cascader Select
A cascading select: level by level on native selects, with the next level appearing only after a choice on the current one.
What you can change
- the tree and the label
- the onChange handler
- the placeholderText, selectedText and emptyText captions
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/cascader-001?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The component is self-contained: one file, no dependencies, its own palette in the local --vibeui-cascader-001-* variables. Client-side: "use client" for the sake of the chosen path. Every level is a native select, so a phone opens the system picker and the keyboard works without any code of our own. The levels are computed from the tree along the current path, and the extra ones are dropped when an upper level changes. The theme comes from the surrounding color-scheme through light-dark(): the component has no surface of its own by default, it sits directly on the page background and darkens with it.
Tags
- cascader
- select
- tree
- form
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…