Phase 9b · Tier A
RN-universal DropdownMenu pilot
ScaffoldedAnchored menu of selectable items. Built on the same modal+measure pattern as RnPopover. v1 ships Root, Trigger, Content (with align), Item (default + destructive), Label, Separator, Group, Shortcut. Sub-menus / Checkbox / Radio land in 0.2.x.
Side-by-side: account menu
shadcn (Radix)
RN
Pick an item to see which surface dispatched the select event.
Semantics
| Aspect | shadcn | RN | Notes |
|---|---|---|---|
| Trigger | Radix Trigger | Pressable + aria-haspopup="menu" | Same role on RN-Web |
| Content | Portal + role="menu" | RN Modal + role="menu" | Anchored via measureInWindow |
| Item | Radix Item | Pressable + role="menuitem" | onSelect closes by default |
| Variants | default / destructive | default / destructive | Destructive uses --color-error |
| Label | role="presentation" | Text + uppercase styling | Section heading inside menu |
| Separator | role="separator" | View + role="separator" | Hairline between sections |
| Sub-menus | Yes | Not in v1 | 0.2.x patch candidate |
| Checkbox/Radio | Yes | Not in v1 | 0.2.x patch candidate |