Overview
The Dropdown component adds a slick, extensible, and accessible menu system.
Install via NPM
npm install @bolt/components-dropdown
Description
Fully interactive with and without JS enabled (including keyboard support)
Usage
Schema
Note: when assigning component props as HTML attributes on a web component, make sure to use kebab-case
.
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
|
The toggle title text |
string
| — |
|
|
|
boolean
|
false
|
|
|
|
boolean
|
false
|
|
|
All of the items in the dropdown -- generally works by including |
any
| — |
|