Component packs › Questline › Streak Calendar

Streak Calendar

Days you showed up are linked like a chain; check in and a gem flies into today and a new link grows.

Streak Calendar is a calendar from Questline, a component pack with 6 gamification components: Gamification components where every reward visibly travels from what earned it. Price: $2 for the whole pack.

Built with: chain links, check-in flight, best run.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Streak Calendar props

PropTypeDefaultDescription
daysboolean[]Done days for the last 35 days, oldest first (the last one is today).
todaynumber26Day of the month today falls on, for the numbers. Default 26.
onCheckIn(streak: number) => void
autoplaynumber | falseShowcase mode: checks in (and resets) every N ms while visible.

Methods on the ref

Use it in React

import StreakCalendar from './StreakCalendar';

<StreakCalendar />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Questline

Good for: Gamification and reactions.