App UI kits › Fortnight › Day

Day

Pinch the day from whole-day to quarter hours, drag an empty stretch to make an event with 5-minute snaps, and see a clash before you make it.

Day is a screen from Fortnight, an app ui kit with 12 screens: A calendar you pinch like paper: the day stretches to quarter hours, free time labels itself, and a clash shows before you make it. Price: free.

Built with: elastic timeline, drag to create, live clashes.

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.

Install with the shadcn CLI: npx shadcn@latest add https://motionmart.store/r/fortnight-day.json

Day props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosFNPhotos
daystringtoday in the demo, 2026-12-03)ISO date to open on (default: today in the demo, 2026-12-03).
hourHeightnumber56)Hour height in px, 32 to 120 (default 56).
onEvent(id: string) => void
onCreate(e: { day: string; start: string; end: string; title: string; calendar: string }) => void
onSearch() => void
onTab(i: number) => void

Methods on the ref

Use it in React

import FortnightDay from './FortnightDay';

<FortnightDay />

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

More in Fortnight

Good for: Calendar app.