Multi-select filter dropdown with badge and checkbox styles
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | - | Trigger button label |
options | FilterOption[] | - | Available filter values |
selected | Set<string> | - | Currently selected values |
onToggle | (value) => void | - | Called when an option is toggled |
colorFn | (value, isSelected) => string | - | Returns a badge class for a value |
emptyMeansAll | boolean | false | Empty selection shows allSelectedText |
allSelectedText | string | "all" | Text when everything is selected |
mode | "dropdown" | "inline" | "dropdown" | Display mode |
style | "badge" | "checkbox" | "badge" | Option presentation |
menuWidth | string | "min-w-48" | Tailwind width class for the menu |