App UI kits › Fortnight › New event
Type “lunch with Hira fri 1pm” and the title, day, time, guest and calendar fill in as you type.
New event 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: plain-words parser, live fields, clash check.
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-new.json
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | FNPhotos | ||
text | string | Text to start with. | |
onAdd | (e: { title: string; day: string; start: string; end: string; calendar: string; guests: string[]; where: string }) => void | ||
onCancel | () => void | ||
onFind | () => void |
setText(text: string): void: Replace the typed text (the fields follow).destroy(): voidimport FortnightNew from './FortnightNew';
<FortnightNew />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Calendar app.