Toggle Day Night

NewUnlimited

A theme switch drawn as a tiny sky: the sun rolls across and becomes a cratered moon, clouds sink away and stars pop out one by one.

togglethemedark-modesunmoon

Installation

Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/toggle-day-night.tsx. This is an Unlimited component, so the CLI needs your API key: set it up once, then install it by name.

Build it with AI

Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.

More toggles & switches

All 7 toggles & switches →