Swipe quiz

A swipeable yes/no card deck that checks whether a store is ready for the holidays and ends on an animated readiness score with a verdict and the fixes to make first.

Swipe quiz preview
Make one like it

npm install motion clsx tailwind-merge lucide-react or npx programmable-cli add swipe-quiz

MP4 and GIF exports are for sites that are not on React. Each counts as this month’s download of the component.

What it’s for

  • Homepage heroes that show the product working
  • Feature pages, one flow per section
  • Launch posts and changelog entries

How to use it

  1. Download the file. SwipeQuiz.tsx is one self-contained React component. Pick a brand colour above and the file comes in it, where the component has a main colour to replace. Sites not on React can take it as an MP4 or GIF.
  2. Install what it uses. npm install motion clsx tailwind-merge lucide-react, with Tailwind CSS set up in your project.
  3. Drop it in. import { SwipeQuiz } from "./SwipeQuiz"; then render <SwipeQuiz /> where you want it.

React + Tailwind CSS. Use downloads in your own sites and products; please don’t resell them as a component library. Repeat downloads of the same component in a month don’t count.