NB
NEO

Neo Dropdown

A compound component system for menus. Features hard shadows, snappy animations, and keyboard accessibility.

01 Installation

Copy the source code below. It handles click-outside logic and animations automatically.

Source Code
New Component

src/components/neo/

NeoDropdown.tsx

Or switch to the "Code" tab to view manually

02 Basic Usage

Interactive Demo

03 Real World Example

User Menu
Avatar

ALEX_DEV

Pro Member

Props API

ComponentPropTypeDescription
NeoDropdownchildrenReactNodeRoot container. Handles state.
NeoDropdownMenuclassNamestringClasses for the menu container (e.g. width).
NeoDropdownItemonClick() => voidFunction called when item is clicked.
NeoDropdownItemdangerbooleanStyles the item with red/destructive colors.