App UI kits › Fortnight › 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
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | FNPhotos | ||
day | string | today in the demo) | Any day in the week to show (default: today in the demo). |
days | 3 | 7 | 3 | 3 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 |
setDays(n: 3 | 7): voiddestroy(): voidimport FortnightWeek from './FortnightWeek';
<FortnightWeek />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Calendar app.