App UI kits › Knot › New habit

New habit

Pick days, time and rest days and the preview thread re-pegs next week as you choose, saying the plan back in words.

New habit is a screen from Knot, an app ui kit with 11 screens: A habit tracker where each week is a real thread, and a missed day is slack, not a broken streak. Price: $5 for the whole pack.

Built with: live preview thread, day picker, rest days.

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.

New habit props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosKqPhotos
onSave(habit: { name: string; days: number[]; when: string; rest: number; target: number }) => void
onClose() => void

Methods on the ref

Use it in React

import KnotAdd from './KnotAdd';

<KnotAdd />

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

More in Knot

Good for: Habit tracker app UI.