Survey 2 block design & features
Survey2 is a multi-step survey built with shadcn/ui and Motion. A short heading, one line and a time estimate sit on the left, and a card on the right walks through four questions with a progress bar and a question counter at the top.
The first question is a single choice, the second a 1 to 5 rating with labelled ends, the third a set of answer chips that can be picked in any number, and the last a short written answer. Back and Next buttons move between steps, Next stays disabled until a question is answered, and each step slides in from the direction of travel. Sending the answers fills the bar and shows a thank-you message with a way to start again.
On load the card answers itself step by step on a loop until a visitor interacts with it. Answers use native radio and checkbox inputs so keyboard and screen reader support comes for free. It suits course feedback, onboarding and post-purchase surveys, uses theme colours in light and dark mode, and reduced motion removes the slides and the demo.
