Aeris Dark Mode Toggle
A light/dark switch for the navbar that saves the choice and shows the right icon with no flash.
Glass MeridianMotion
A light/dark switch for the navbar that saves the choice and shows the right icon with no flash.
The Daylight / Night flight switch: a round ghost button with a moon or a sun. Both icons and both labels are in the server HTML and CSS shows the pair for <html data-theme>, so nothing flashes and hydration matches; the choice is saved. Use size="sm" in the floating navbar and the footer. Client component.
It is part of Glass Meridian: daylight sky, frosted glass, one blue line. The style’s 92 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.
To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.
A light/dark switch for the navbar that saves the choice and shows the right icon with no flash.
A light/dark switch for the navbar that saves the choice and shows the right icon with no flash.
A light/dark switch for the navbar that saves the choice and shows the right icon with no flash.
A light/dark switch for the navbar that saves the choice and shows the right icon with no flash.
A light/dark switch for the navbar that saves the choice and shows the right icon with no flash.
A light/dark switch for the navbar that saves the choice and shows the right icon with no flash.
A light/dark switch for the navbar that saves the choice and shows the right icon with no flash.
A light/dark switch for the navbar that saves the choice and shows the right icon with no flash.