01
Overview
Activates the associated dropdown menu on click or keyboard interaction.
Usage
DropdownTrigger is a compose-only leaf of Dropdown.
The idiomatic API is Dropdown.Trigger, reached through the parent
namespace — see the dropdown README for the composed
snippet. The flat @lostgradient/cinder/dropdown-trigger subpath remains exported for
à-la-carte builds that import the leaf directly.
02
When to use
Use when
- Opening a dropdown-menu from a button styled to match cinder's form controls.
- Pairing with dropdown to expose a custom menu from a labelled affordance.
Avoid when
- Triggering a discrete action with no menu — use button instead.
03
Props
| Name | Type | Default | Required | Bindable | Description |
|---|---|---|---|---|---|
caretVisible | boolean | true | Render the trailing disclosure caret. Defaults to true. | ||
children | snippet | ||||
onclick | unknown | req |