Skip to content

DropdownMenuSubTrigger โ€‹

Source: client/lib/theme/vueda-tailwind/navigation/index.js

Menu row that opens a child surface. Open and focused states share the same neutral accent fill.

Vue component: DropdownMenuSubTrigger

SlotDefault classesDescription
root5 classesMenu row that opens a child surface. Open and focused states share the same neutral accent fill.
iconWrapperml-auto size-4Trailing chevron wrapper that reserves submenu affordance space at the row edge.

root โ€‹

Menu row that opens a child surface. Open and focused states share the same neutral accent fill.

Default classes:

text
focus:bg-accent focus:text-accent-foreground active:bg-accent-active active:text-accent-foreground
data-[state=open]:bg-accent data-[state=open]:text-accent-foreground
relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8
[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4
data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground

Source: client/lib/theme/vueda-tailwind/navigation/DropdownMenuSubTrigger.theme.js:16

iconWrapper โ€‹

Trailing chevron wrapper that reserves submenu affordance space at the row edge.

Default classes:

ml-auto size-4

Source: client/lib/theme/vueda-tailwind/navigation/DropdownMenuSubTrigger.theme.js:35

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2