WUI logo

DropdownMenu

Allows user to select between multiple actions.

version

5.0.0-alpha.32

install

yarn add @welcome-ui/dropdown-menu

usage

import { DropdownMenu, useDropdownMenuState } from '@welcome-ui/dropdown-menu'

About #

Menu from Reakit with a really nice theme 👀

Usage #

...or with more complexity

Arrow #

Use DropdownMenu.Arrow to add an arrow to the dropdown menu

Properties #

NameType(s)DefaultRequired
innerProps
WuiProps

add custom props from styled system on DropdownMenu inner

{}
state
Omit<PopoverOptions, "hideOnEsc"> & Pick<MenuStateReturn, "placement"> & RoleOptions & { disabled?: boolean; focusable?: boolean; } & ... 4 more ... & { ...; }
{}

Packages #

Dependencies #
Peer dependencies #

Previous

Breadcrumb

Next

Link