App UI kits › Fortnight › Week

Week

Three or seven days on one elastic grid; drag an event across days and the clash shows as you pass over it.

Week 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: drag across days, 3 or 7 days, one now line.

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-week.json

Week props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosFNPhotos
daystringtoday in the demo)Any day in the week to show (default: today in the demo).
days3 | 733 or 7 days (default 3; the 7-day grid is for a quick look).
onEvent(id: string) => void
onMove(m: { id: string; day: string; start: string; end: string }) => void
onTab(i: number) => void

Methods on the ref

Use it in React

import FortnightWeek from './FortnightWeek';

<FortnightWeek />

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

More in Fortnight

Good for: Calendar app.