App UI kits › Swaddle › Night mode

Night mode

A dim, warm screen for 3 a.m. with thumb-sized targets built for one hand; the suggested side is already lit.

Night mode is a screen from Swaddle, an app ui kit with 11 screens: A baby tracker with a one-hand 3 a.m. mode, a feed timer that remembers the side, and a week of days drawn as rings. Price: $5 for the whole pack.

Built with: one-hand layout, warm dim theme, brightness.

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.

Night mode props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosZwPhotos
onLog(kind: ZwKind, side?: 'L' | 'R') => void

Methods on the ref

Use it in React

import SwaddleNight from './SwaddleNight';

<SwaddleNight />

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

More in Swaddle

Good for: Baby tracker app.