Skip to content
SevenUI
Sign inGet Pro

Toggle components

14 free, copy-and-go React Toggle examples built on the SevenUI Toggle primitive. Install any of them with the shadcn CLI.

On this page

Toggle Sizes

The same bold, italic, underline and strikethrough toolbar at sm, default and lg sizes, labelled as compact, default and comfortable density presets.

… add @sevenui/component/toggle-01… add @sevenui/ui-sdk/component/toggle-01

Compact

28px, dense tables and sidebars

Default

32px, most toolbars

Comfortable

36px, touch and primary editors

Order Add-ons

A checkout card where full-width add-on toggles for express delivery, gift wrap and protection show a check when pressed and update the order total.

… add @sevenui/component/toggle-02… add @sevenui/ui-sdk/component/toggle-02

Add to your order

Aeron desk lamp, matte graphite

Subtotal
$249.00
Add-ons
$12.00
Total
$261.00

Toggle States

Rows showing loading with a spinner and aria-busy, disabled, error with a described message, and a read-only toggle pinned by workspace policy.

… add @sevenui/component/toggle-03… add @sevenui/ui-sdk/component/toggle-03

Loading

Waits for the server before it flips.

Disabled

Local backup needs 2.4 GB free.

Error

Add a recovery key first.

Read-only

Enforced by your workspace admin.

Canvas View Shortcuts

A design canvas toolbar whose pixel grid, rulers and snap toggles also respond to Shift-letter shortcuts and redraw the artboard preview.

… add @sevenui/component/toggle-04… add @sevenui/ui-sdk/component/toggle-04

Press Shift with a letter to switch a view option.

Quick Settings Tiles

A quick settings panel of large tile toggles with an icon, label and status that fill with the primary color when pressed.

… add @sevenui/component/toggle-05… add @sevenui/ui-sdk/component/toggle-05

Quick settings

Expanding Playback Modes

A now-playing card with icon-only shuffle, repeat, lyrics and sleep timer toggles that slide open to reveal their label while pressed.

… add @sevenui/component/toggle-06… add @sevenui/ui-sdk/component/toggle-06
Album cover for Low Tide Letters

Harbor Lights

Maren Holt · Low Tide Letters

Wishlist Heart

A product card with a round heart toggle over the image that saves the item to a wishlist and updates a live save count.

… add @sevenui/component/toggle-07… add @sevenui/ui-sdk/component/toggle-07
Linen Overshirt in Sand

Linen Overshirt

Sand

$128

4.7 (312 reviews)1,284 saves

Internal Note Composer

A support reply composer where an Internal toggle turns the reply into a private note, changing its tint, label, placeholder and send action.

… add @sevenui/component/toggle-08… add @sevenui/ui-sdk/component/toggle-08

Reading Preferences

Reader toggles for larger text, relaxed spacing and a serif face that restyle a live article preview.

… add @sevenui/component/toggle-09… add @sevenui/ui-sdk/component/toggle-09
Reading preferences

Why small teams ship faster

Every new person on a project adds another line of communication. Past six or seven people, coordination starts to cost more than the extra hands save, so the best teams keep the core group small and lean on clear written decisions.

6 min read · Field notes

Starred Files

A file list with a star toggle on every row and a Starred only filter toggle in the header, with an empty state.

… add @sevenui/component/toggle-10… add @sevenui/ui-sdk/component/toggle-10

Marketing drive

5 of 5 items

  • Brand guidelines 2026.pdf

    4.2 MB · Edited 2h ago

  • Q3 revenue forecast.xlsx

    860 KB · Edited yesterday

  • Launch assets

    24 files · Edited Sep 21

  • Homepage hero.png

    2.1 MB · Edited Sep 18

  • Vendor contract draft.docx

    118 KB · Edited Sep 12

Live Updates Toggle

A deployments feed whose Live updates toggle, with a pulsing indicator, streams in new deploys or pauses the feed.

… add @sevenui/component/toggle-11… add @sevenui/ui-sdk/component/toggle-11

Deployments

acme-web · Production

  • Fix invoice rounding

    main

    Ready
  • Add SAML callback

    feat/sso

    Failed
  • Bump Node to 22

    main

    Ready

Listening for new deployments.

Chart Legend Filter

Legend toggles that show or hide channels in a stacked bar chart, recompute the total and change, and always keep one series visible.

… add @sevenui/component/toggle-12… add @sevenui/ui-sdk/component/toggle-12

Signups by channel

5,120

+16.6% vs. August

Show channels

Log Level Filter

A log viewer with error, warning, info and debug filter toggles with counts, a line wrap toggle and an empty state.

… add @sevenui/component/toggle-13… add @sevenui/ui-sdk/component/toggle-13
14:02:11infoGET /api/invoices 200 in 84ms
14:02:15warnSlow query on payments.list took 1,240ms; consider an index on created_at
14:02:17errorPOST /api/webhooks/stripe 500: signature verification failed for event evt_3Q9x
14:02:18infoRetry scheduled for webhook evt_3Q9x in 30s
14:02:24infoDeployed build 8f3c1a2 to production

Call Controls

A video call control bar with microphone, camera, present, captions and raise hand toggles in tooltips that drive a live self-view tile.

… add @sevenui/component/toggle-14… add @sevenui/ui-sdk/component/toggle-14
JRJordan Reyes (you)

Priya: Let's review the Q4 roadmap before we wrap up.

All set.

Components are the parts. Blocks are the page.

Pro blocks are whole sections and pages — heroes, pricing, dashboards, auth — composed from the same primitives and themed by the same tokens you already use. Install one and it is yours.

One purchase, yours forever. $99 at launch instead of $249.