Castle logo

CASTLE UI

Search

K


Provide an enhanced and flexible dropdown experience with Dropdown. It allows users to display content dynamically and interactively with a combination of triggers, and menu items.

Usage

Import

import { Dropdown } from '@passfort/castle'

Copy

Example

Organize dropdown components using Dropdown.Button and Dropdown.Content, for a clear and consistent experience.

Copy

live example

Nested

When nesting, you may want to set the zIndex of the nested Popover.

Copy

live example

Conn

Connected Dropdown

Connect multiple dropdown buttons using Connected component.

import { Connected } from '@passfort/castle'

Copy

Copy

live example

Controlled Dropdown

Control the open state of the dropdown manually.

Copy

live example

Disabled Dropdown

Disable the dropdown to prevent user interaction.

Copy

live example

Contents