Interactive Playground
Experiment with tree hierarchies, selection variants, and styling parameters.
["test"]
""
Real-World Usage Examples
Explore practical implementation scenarios ranging from global routing to advanced slot customizations.
1. Country Flags (Custom Slots)
Utilizes the #option and #chip templates to inject flag emojis into the hierarchy.
2. Cargo Hierarchy (Text & Highlight)
Demonstrates dashed tree lines with showExpandCollapse and selectionVariant="highlight".
3. Deep Permission Tree
A 3-level deep tree forcing closeOnSelect to demonstrate auto-hiding the popover upon selection.
4. Real-time Form Validation
Single-select triggering a reactive validation computed state formatting the input red. canDeselect="false" requires a persistent value.
5. Persistent Inline Menu
Using the inline prop permanently exposes the selection list, making it ideal for sidebars or deep category filters.
6. Large Chips Array & Loading State
Testing overflow logic with many selected items in lg size, alongside an asynchronous loading state.
API Reference
Complete specifications for components properties, events, and custom slots.