Registry Index

Search the catalog

Type to search items across every indexed registry, or pick a page.

ComponentReactregistry:ui2 dependencies

Theme Switch

theme-switch

Animated dark / light mode toggle button with a spring-driven sun ↔ moon icon swap and optional View Transition reveal.

Live, loading

Starting the live preview…

Runs in a sandboxed frame on a separate origin, in its registry's own theme. Mounted with no props — an item that paints an empty box is given its name as text, and some items need input to show anything.

1 other registry

Similar components

Other registries' take on theme-switch.

1 demo

See it in use

Files this registry ships to demonstrate the item. They are indexed and installable, but they don't count as components of their own.

No live preview for demo-theme-switch yet
It could not be mounted with no props, or has not been rendered yet. Open it to see the code.

Animated dark/light mode toggle with spring icon transitions.

@unlumen-ui

More from @unlumen-ui