SuperdindaDocs
Overlays

DropdownMenu

Playground

Um preset por valor do primeiro eixo do Figma. Mude as props; dsState força hover, foco ou pressionado, como na matriz.

Dropdown Menu Item

Variantes, tamanhos e estados

Cada célula é o componente real, marcada com a variante do Figma que reproduz (passe o mouse pra ver o node).

Variant · Default

DefaultFocusDisabled

Variant · Destructive

DefaultFocusDisabled

Props

As props que o arquivo do DS declara. O componente também repassa as do primitivo (base-ui), quando ele tem um.

DropdownMenuContentProps

PropTipoPadrãoDescrição
"lg" | "md" | "sm" | null"md"
"bottom" | "left" | "right" | "top""bottom"
"center" | "end" | "start""start"
number4
string—
ReactNode—

DropdownMenuPreviewProps

PropTipoPadrãoDescrição
"lg" | "md" | "sm" | null"md"
booleanfalseProvide the menu context only, with no panel around the children (to show one item on its own).
string—

DropdownMenuItemProps

PropTipoPadrãoDescrição
"default" | "destructive" | null"default"
ReactNode—The Figma "Show icon" + "Icon" pair: a lucide element before the label.
string—The Figma "shortcut" text, e.g. "⌘K" (visual hint only).
booleanfalseThe Figma "showChevron": the item leads somewhere else.
booleanfalseWhether the component should ignore user interaction.
string—
ReactNode—

DropdownMenuCheckboxItemProps

PropTipoPadrãoDescrição
booleanfalseWhether the component should ignore user interaction.
string—
ReactNode—

On this page