Lorre Blocks
GitHub

toggle

shadcn
MIT

Two-state button that can be on or off, built on Radix Toggle. Use for tool options like bold/italic; use switch for settings.

npx lorre-blocks add toggle

Dependencies

Registry (installed automatically)

Tags: toggle · button · pressed · state · toolbar