✨ Announcing our seed funding led by Lux Capital! Read more about it on our blog
DocsBlogChangelog

Search documentation...

/

Star

12k+

[ Learn ]

[ Concepts ]

[ Reference ]

An accessible dropdown menu for the common dropdown menu button design pattern.
rx.menu(
    rx.menu_button("Menu"),
    rx.menu_list(
        rx.menu_item("Example"),
        rx.menu_divider(),
        rx.menu_item("Example"),
        rx.menu_item("Example"),
    ),
)

The wrapper component provides context, state, and focus management.


The trigger for the menu list. Must be a direct child of Menu.


  • Base Event Triggers

A visual separator for menu items and groups.


  • No props for MenuDivider.

  • Base Event Triggers

A wrapper to group related menu items.


  • No props for MenuGroup.

  • Base Event Triggers

The trigger that handles menu selection. Must be a direct child of a MenuList.


  • Base Event Triggers

The checkable menu item, to be used with MenuOptionGroup.


  • Base Event Triggers

The wrapper for the menu items. Must be a direct child of Menu.


  • No props for MenuList.

  • Base Event Triggers

A wrapper for checkable menu items (radio and checkbox).


  • Base Event Triggers

← DrawerModal →

Copyright © 2023 Pynecone, Inc.