Select
Shadcn Select reconstructed on the Proto UI Base Select protocol.
This entry composes the shadcn visual and API surface over the cataloged Base Select protocol. Web Components, React, and Vue share the same selection, focus, and ARIA semantics.
Current scope
Section titled “Current scope”Root,Trigger,Value,Content, andItemdefaultValue/value,defaultOpen/open, and their change eventsTrigger.size="sm | default"Content.position="item-aligned | popper", defaulting to shadcn/ui’sitem-aligned- single selection, disabled items, keyboard navigation, typeahead, popup dismissal, and focus restoration
Group, Label, Separator, Viewport, scroll buttons, ItemText, ItemIndicator, and form submission remain deferred. Content dynamically matches Trigger width through anchor-size CSS variables projected by the Anchored Position host. The current item-aligned option preserves the official API and default, but its geometry still uses Base anchor positioning rather than Radix’s per-item alignment algorithm.