Component packs › Synapse › Model Picker
The menu unfolds option by option and a soft highlight glides between them on a spring.
Model Picker is a select from Synapse, a component pack with 6 components: The interface pieces every AI product needs. Price: free.
Built with: spring highlight, listbox keyboard, cascading open.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
Install with the shadcn CLI: npx shadcn@latest add https://motionmart.store/r/model-picker.json
| Prop | Type | Default | Description |
|---|---|---|---|
models (required) | ModelOption[] | ||
value | string | ||
label | string | ||
onChange | (id: string) => void | ||
autoplay | boolean | Showcase mode: opens and picks on a loop. |
readonly value: stringsetValue(id: string): voidopen(): voidclose(): voiddestroy(): voidimport ModelPicker from './ModelPicker';
<ModelPicker
label="Model"
value="balanced"
models={[{"id":"swift","name":"Swift","hint":"Fast answers"},{"id":"balanced","name":"Balanced","hint":"Everyday work"},{"id":"deep","name":"Deep","hint":"Careful reasoning"},{"id":"vision","name":"Vision","hint":"Images and documents"}]}
/>The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: AI product landing pages, AI chat and chat UI components.