Search the docs

Search Keyframery's docs

Keyframery

Questionnaire animation

Picked choices tick or grow their dot, and the next step slides in like a tab.

with <Cuts />
What are you working on?

What moves

WhenWhat you seeTimingHow
A choice is pickedThe tick draws itself, or the dot grows150 msAutomatic
Next or previous stepThe new step slides in from that side260 msAutomatic

Install

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

npx shadcn add questionnaire

Turn it off

Put data-cut="none" on a questionnaire (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