interface DropdownItem

Dropdown menu item

Properties

optional
label: string

Item label text

optional
href: string

Item href (makes it a link)

optional
icon: string

Icon HTML or class (e.g., '<i class="ph ph-user"></i>')

optional
divider: boolean

Whether this item is a divider

optional
header: string

Section header text (makes this a non-clickable header)

Item variant for special styling

optional
class: string

Additional CSS classes

optional
onclick: string

onClick handler name (for JavaScript integration)

Usage

import { type DropdownItem } from ".";