skip to the page
superthread
componentsdropdown menu
system
superthread
version
2.15.1
date
24.11.26

dropdown menu

actions in a leaf list, with checks, choices and submenus. the list floats 6 px from its trigger and keeps a screened contact edge in light.

bunx --bun shadcn@latest add @mk/dropdown-menu

example

open the run menu. change notifications, move the run to another ship, or choose an action.

light

run or-412 is ready. orbit, notifications on.

dark

run or-412 is ready. orbit, notifications on.

open

the parent list and its ship submenu, printed in place. the checked row and the chosen ship keep their own indicator columns.

light

dark

contact edgedraws where a floating layer meets the page, under its soft lift

variants

default actions, inset words and destructive actions share the same 36 px row, 44 px on a phone. destructive uses key ink and the trash glyph.

light

default
36 px action row

inset
room for an indicator

destructive
trash glyph, key ink

dark

default
36 px action row

inset
room for an indicator

destructive
trash glyph, key ink

states

the trigger keeps its control ring outside. inside the list, focus stays inside the row and highlight uses the raised hover fill.

light

rest
outline trigger

hover
outline trigger

focus
outside control ring

pressed
outline trigger

disabled
disabled trigger

row, rest
flat popover fill

row, highlighted
raised hover fill

row, focus
inside control ring

row, disabled
disabled word ink

dark

rest
outline trigger

hover
outline trigger

focus
outside control ring

pressed
outline trigger

disabled
disabled trigger

row, rest
flat popover fill

row, highlighted
raised hover fill

row, focus
inside control ring

row, disabled
disabled word ink