Skip to content
SevenUI
Sign inGet Pro

Toggle Group components

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

On this page

Theme Segmented Control

An attached outline segmented control for Light, Dark, and System themes that always keeps one option selected.

… add @sevenui/component/toggle-group-01… add @sevenui/ui-sdk/component/toggle-group-01
Interface theme

Follows your operating system and switches automatically at sunset.

Toggle Group Sizes

A chart type switcher on a muted track at small, default, and large sizes, each labelled with its density use case.

… add @sevenui/component/toggle-group-02… add @sevenui/ui-sdk/component/toggle-group-02
SmallDense dashboard widgets
DefaultReport toolbars
LargeTouch and kiosk screens

Filter Chips

Wrapping pill-shaped toggles in multiple mode with a check indicator, issue counts, a clear action, and a live result count.

… add @sevenui/component/toggle-group-03… add @sevenui/ui-sdk/component/toggle-group-03
Filter by label

Showing 15 of 30 open issues.

Toggle Group States

Saving and saved feedback, a locked Owner item, and a fully disabled group managed by an admin.

… add @sevenui/component/toggle-group-04… add @sevenui/ui-sdk/component/toggle-group-04
Default role for new membersOwner can only be granted from member settings.
Guest link accessSet by your organization admin for all workspaces.
Managed

Avatar Toggles

Multiple-select avatar toggles that filter tasks by assignee, with a ring on selection and select all or clear all.

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

14 tasks assigned to Maya and Theo.

Formatting Toolbar With Tooltips

Style and alignment toggle groups with tooltips, shortcut keys, and a separator driving a live text field.

… add @sevenui/component/toggle-group-06… add @sevenui/ui-sdk/component/toggle-group-06

Press Ctrl + B, I, or U while typing to toggle styles.

Billing Cycle Pricing

A plan card whose monthly or yearly toggle updates the per-seat price, billing note, and call to action.

… add @sevenui/component/toggle-group-07… add @sevenui/ui-sdk/component/toggle-group-07
Team plan
For growing teams shipping every week.

$14per seat / month

Billed $168 per seat once a year.

  • Unlimited projects and guests
  • Version history for 365 days
  • SAML single sign-on

Notification Channel Matrix

A settings panel where each event row has a multi-select Email, Push, and Slack toggle group.

… add @sevenui/component/toggle-group-08… add @sevenui/ui-sdk/component/toggle-group-08
Notifications
Pick where each kind of update reaches you.
MentionsSomeone @mentions you in a comment.
Assigned to youAn issue or review lands on your plate.
Failed deploysA production deploy you triggered fails.
Weekly digestA Monday summary of activity in your projects.

Revenue Range Widget

An analytics card whose date range toggle swaps the revenue total, trend delta, and animated bar chart.

… add @sevenui/component/toggle-group-09… add @sevenui/ui-sdk/component/toggle-group-09
Net revenue
After refunds and payment fees.
$31,940last 7 days
+12.4%versus the previous period
MonSun

Product Size Picker

A shoe product panel with a width toggle and a size grid with sold-out sizes disabled and stock-aware delivery text.

… add @sevenui/component/toggle-group-10… add @sevenui/ui-sdk/component/toggle-group-10
Trail runner in slate grey, side view

Ridgeline Trail Runner

Men's · Slate grey

$148.00

Width
Size (US)

Select a size to see delivery time.

File Browser Controls

An icon-only grid or list layout toggle plus file-type filter chips driving a shared folder's file list.

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

Shared with marketing

6 of 6 files

  • Q3 board deck.pdf

    4.2 MB

  • Launch hero.png

    1.8 MB

  • Onboarding walkthrough.mp4

    86 MB

  • Hiring plan 2027.xlsx

    312 KB

  • Brand guidelines.pdf

    9.6 MB

  • Team offsite.jpg

    3.1 MB

Office Hours Scheduler

Weekday circle toggles, time-of-day tiles, and slot length feeding a live count of bookable slots.

… add @sevenui/component/toggle-group-12… add @sevenui/ui-sdk/component/toggle-group-12
Office hours
Set when customers can book a call with you.
Repeats on
Time of day
Slot length

30 slots a week on Tue, Wed, Thu.

Install Command Switcher

A package manager toggle that rewrites an install command, with a copy-to-clipboard button.

… add @sevenui/component/toggle-group-13… add @sevenui/ui-sdk/component/toggle-group-13
pnpm dlx shadcn@latest add @sevenui/toggle-group
Adds the component source to components/ui.

Onboarding Goals Step

An onboarding step with multi-select goal tiles and a team-size toggle that gate the Continue button.

… add @sevenui/component/toggle-group-14… add @sevenui/ui-sdk/component/toggle-group-14
x

Step 2 of 3

What will your workspace be for?

Pick all that apply. We will set up views and templates to match.

How many people will join?

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.