FormanceCustom component built for Formance products.
Installation#
Install the following dependencies:
Copy and paste the following code into your project.
Update the import paths to match your project setup.
Usage#
Examples#
Controlled#
With Search#
No Search#
Disabled#
Creatable#
Overflow Wrap#
Overflow Cutoff#
Badge Label#
Groups#
Inline#
Inline Creatable#
Compound Components
Compose the pieces you need:
<MultiSelect />Root provider with controlled/uncontrolled values and popover or inline mode.<MultiSelectTrigger />Button that opens the dropdown and displays selected badges.<MultiSelectInput />Search input inside the trigger for filtering options.<MultiSelectValue />Renders selected values as badges with remove buttons.<MultiSelectContent />Dropdown content with command list.<MultiSelectItem />Selectable option with checkbox indicator.<MultiSelectGroup />Groups related items under a heading.<MultiSelectSeparator />Visual separator between groups.