Skip to content
  • Web

Dropdown Menu

A Dropdown Menu component is a UI element that allows users to select an option from a list that appears when the user clicks or hovers over a button or link. This component helps save space on the interface by displaying additional options only when needed. Dropdown menus are commonly used for navigation, settings, or forms, enabling users to choose from multiple choices in a clean and organized manner.

Live examples

Example.tsx

Attributes

NMenuItem attributes
NameTypeDefaultDetails
titlestringOptional
childrenReactNodeOptional
separatorbooleanOptional
classNamestringOptionalSupported Tailwind-style utilities, resolved entirely in Rust. See the engine README.
disabledbooleanOptional
idstringOptional
onAction(() => void)Optional
Engine reference for Menu ItemSet up engine components

Tags