Buttons

Theme toggle button

A labelled switch that flips between light and dark, spinning its sun mark a full turn on hover and cross fading the word beside it on every switch.

Using Theme toggle button

A labelled switch that flips between light and dark, spinning its sun mark a full turn on hover and cross fading the word beside it on every switch.

Try the live preview with a pointer and keyboard, then check focus visibility and the narrow layout in your own page. Use the plate number or slug when asking your coding agent to fetch this component.

Props: showLabel, size, accent, spinOnHover, startDark

Which frameworks are available?

The catalog lists these versions: react, vue, svelte, astro, html. The live preview on this page runs React.

How do I access the implementation?

The preview and component description are public. Sign in with an authorized account to open the code, framework versions and installation panel.

Connect your agent

Nearby