Castle logo

CASTLE UI

Search

K

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

Usage

Import

import { DropdownV2 } from '@passfort/castle'

Copy

Example

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

Copy

live example

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