WUI logo

DropdownMenu

Allows user to select between multiple actions.

version

5.0.0-alpha.16

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

{}
visible
Boolean

Whether it's visible or not.

false

Packages #

Dependencies #
Peer dependencies #

Previous

Breadcrumb

Next

Link