Park UI

Menu

A dropdown component for displaying lists of actions or navigation options.

Installation

Usage

Examples

Sizes

Use the size prop to adjust the size of the menu items.

Context Menu

Use the Menu.ContextTrigger component to create a context menu.

Group

Use the Menu.ItemGroup component to group related menu items.

Here's an example of how to create a submenu.

Radio Group

Here's an example of how to create a menu with radio items.

Checkbox Items

Here's an example of how to create a menu with checkbox items.

Avatar

Here's an example that composes the Menu with the Avatar component to display a menu underneath an avatar.

Props

Root

Item

RadioItemGroup

RadioItem