# Marketing Hero Form: Quiz Assessment Form

A hero with a quiz or assessment form that walks through scored questions. Engages visitors and routes them toward a tailored recommendation.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/quiz-assessment-form
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing), Free tier
- Group: [Hero Forms](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/quiz-assessment-form.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-hero-forms-quiz-assessment-form
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/marketing-hero-forms-quiz-assessment-form.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, card, checkbox, label, progress, radio-group
- Installs to: `@/components/blocks/marketing/hero-forms/quiz-assessment-form`

## About this block

Quiz Assessment Form is a full-page interactive assessment card. A labeled
badge identifies the quiz category, a countdown timer sits opposite it in
the header, and a progress bar beneath the question counter tracks how far
through the sequence the respondent has gone. Each question occupies its own
card view and renders in one of three modes: single choice via radio buttons,
multiple choice via checkboxes, or open text via a textarea. After the
respondent answers, a "Show Explanation" button reveals the reasoning behind
the correct answer before they advance. On the final submit, the card
transitions to a results view showing score, percentage, a filled progress
bar, and time taken, with buttons to retake or view a certificate.

The question list, answer options, explanations, and category badge are all
plain data you can swap out. You can add or remove questions, change the
question types, or drop the explanation feature entirely by omitting the
`answerExplanation` field. The timer display is presentational in the demo
and can be wired to a real countdown or hidden without affecting the rest of
the layout.

## When to use

Reach for this block when you need to qualify or segment visitors through a
scored interaction rather than a passive form. For a product analytics SaaS
it works well as an "analytics maturity" check that routes teams to the plan
or onboarding track that fits their current setup. It also suits
certification flows, skills screeners, or gated content where a score
determines what the visitor sees next. Compared to the
[Feedback Survey Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/feedback-survey-form),
which collects open opinions, this block scores responses and gives the
visitor an immediate, concrete result.

A natural flow around it on a Marketing (Legacy) page:

**Before**

- A [Hero Section](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections) to introduce the
  assessment topic and set expectations before the card appears
- [Stats](https://www.shadcn-ui-blocks.com/blocks/marketing/stats) showing how many teams have taken the
  assessment, adding credibility before the visitor commits

**After**

- [CTA Sections](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections) to route high scorers to
  a trial signup or product demo based on their result
- A [Split Screen Multi Step](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/split-screen-multi-step)
  form if the result triggers a longer onboarding sequence

## What you can customize

The block supports three distinct question types that you can mix in any
order within one assessment:

- **Single choice questions.** Swap in your own answer options and mark one
  as correct; the radio group handles mutual exclusion automatically.
- **Multiple choice questions.** Tag multiple correct options and the scorer
  will only award the point when the respondent selects every correct answer
  and no incorrect ones.
- **Open text questions.** These are excluded from scoring by default, making
  them useful for qualitative follow-up at the end of an otherwise scored
  quiz.

> Tip: keep the quiz to five or fewer questions so the progress bar moves
> visibly with each step and the timer does not feel threatening.

## More in Marketing Hero Forms

- [Booking Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/booking-form)
- [Center Aligned Search With Tags](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/center-aligned-search-with-tags)
- [Center Aligned With A Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/center-aligned-with-a-form)
- [Contact Form With Background](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/contact-form-with-background)
- [Contest Entry Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/contest-entry-form)
- [Early Access Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/early-access-form)
- [Event Registration Countdown](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/event-registration-countdown)
- [Feedback Survey Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/feedback-survey-form)
- [Floating Card With Gradient](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/floating-card-with-gradient)
- [Free Ebook Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/free-ebook-form)
- [Free Trial Signup Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/free-trial-signup-form)
- [Image And Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/image-and-form)
- [Job Application Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/job-application-form)
- [Newsletter Subscription](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/newsletter-subscription)
- [Newsletter With Social Proof](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/newsletter-with-social-proof)
- [Product Customizer Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/product-customizer-form)
- [Schedule Demo Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/schedule-demo-form)
- [Sign Up Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/sign-up-form)
- [Split Screen Multi Step](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/split-screen-multi-step)
- [Subscription Form With Toggle](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/subscription-form-with-toggle)
- [Two Factor Verification](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/two-factor-verification)
- [User Feedback Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/user-feedback-form)
- [Webinar Registration Form](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-forms/webinar-registration-form)
