Search the docs

Search Keyframery's docs

Keyframery

Combobox animation

The list opens from the input on your theme's curve, the chevron turns, and picked items tick.

with <Cuts />

What moves

WhenWhat you seeTimingHow
The list opens or closesGrows from the input and returns to ityour theme's timingAutomatic
Its chevronTurns while the list is open200 msAutomatic
An item is pickedIts tick draws itself150 msAutomatic
A chip is addedPops in from 85%220 msAutomatic

Moving the highlight with the arrow keys stays instant.

Install

Combobox is shadcn's own component. With <Cuts /> in your root layout (Quick start), there's nothing else to add:

npx shadcn add combobox

Turn it off

Put data-cut="none" on a combobox (or anything around it) to keep shadcn's own motion there. <Cuts responses="none" /> turns off every response across the app and keeps the cuts. With reduced motion, movement becomes a short fade or nothing.

On this page