Search blocks

Find a block by name or category

6 Blocks

Survey Blocks

Survey and feedback blocks built on shadcn/ui's Questionnaire primitive: multi-question product surveys, an NPS scale with number-key shortcuts, a cancellation exit survey in a dialog, an inline was-this-helpful widget, a full-page one-question-per-screen flow, and a branching qualification survey. Progress, validation, and keyboard support are handled by the primitive.

Survey 1

Free

A four-question product feedback survey in a card, built on the Questionnaire primitive: a required single-choice question, a multiple-choice question, a question pairing fixed choices with a freeform answer, and an optional question you can skip, with progress and previous, skip, next, and submit navigation.

CardQuestionnaireSonner

Survey 2

Free

A net promoter survey: a zero to ten rating scale with number-key shortcuts, followed by a required freeform question asking what drove the score. Centered, with progress and submit navigation.

QuestionnaireSonner

Survey 3

Free

A cancellation exit survey in a dialog, opened from a plan card: a required reason with a freeform alternative, then an optional question about what would have changed your mind. Dismissal stays owned by the dialog.

ButtonDialogQuestionnaireSeparatorSonner

Survey 4

Free

A compact inline feedback widget for a docs or app page: a three-choice was-this-helpful rating and an optional freeform follow-up, resolving to a thank-you state.

CardEmptyQuestionnaire

Survey 5

Free

A full-page onboarding survey showing one question per screen in oversized type, with letter-key shortcuts on every answer and a thin progress bar across the top driven by the questionnaire progress state.

QuestionnaireSonner

Survey 6

Free

A branching sales qualification survey in a two-column split: the first answer disables the questions that no longer apply, while a path rail alongside ticks off each step and marks the skipped ones.

QuestionnaireSonner

Survey Blocks FAQ

Categories that pair well with Survey blocks when composing a page.