Installation
npx kinetic-ui-cli@latest add multi-selectOverview
A robust multi-select combobox built using Command and Popover primitives. It allows users to search through a list of options and select multiple items, which are displayed as removable pills/badges.
Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { MultiSelect } from "@/components/ui/multi-select";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { MultiSelect } from "@/components/ui/multi-select";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<MultiSelect
options{/* value */}
selected="example"
onChange="example"
/>
</div>
);
}