N
ns-ui

Toggle Theme ASCII · ns-ui

A light/dark toggle whose chip reads the real resolved --background/--foreground values at mount and on every theme change and paints itself in their negative, so it previews almost exactly what the page will look like the instant you click it.

npx shadcn@latest add https://design.helpmarq.com/r/toggle-theme-ascii.json
Preview Toggle Theme ASCII on ns-ui's site (opens in a new tab)
Loading the source for toggle-theme-ascii…

toggle-theme-ascii