TidalUI

Dropdown menu preview

Grouped actions, selections and nested menus.

free · Navigation · composite

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add https://tidalui.com/r/dropdown-menu.json

Import components/ui/tidal.css, components/ui/dropdown-menu.css. Wrap installed components in tidal-scope.

Preview

Dropdown menu component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/dropdown-menu.css";
import{TidalDropdownMenu}from"./components/ui/dropdown-menu";
export default()=><div className="tidal-scope"><TidalDropdownMenu/></div>;

API and props

TidalDropdownMenu.theme
"light" | "dark" | undefined

Optional theme value accepted by this exported component.

TidalDropdownMenuItem.destructive
boolean | undefined

Optional destructive value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas