DropdownMenu

Menu from Reakit with a really nice theme 👀

Install and import

yarn add @welcome-ui/dropdown-menu @xstyled/styled-components react react-dom styled-components
import { DropdownMenu, useDropdownMenuState } from '@welcome-ui/dropdown-menu'

Example

...or with more complexity

Properties

NameType(s)DefaultRequired
children
node
innerProps
object

add custom props from styled system on DropdownMenu inner

visible
bool

from useDropdownMenuState

Dependencies

Peer dependencies