BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/crenspire/glass-ui/toggle-group

Toggle Group

crenspire-glass-ui/toggle-group
FreeComponent

A set of two-state buttons that can be toggled on or off.

Live preview

live · rendered by the registry
Rendered by crenspire/glass-ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://glass-ui.crenspire.com/r/toggle-group.json

Source

components/ui/glass/toggle-group.tsxglass-ui.crenspire.com/r/toggle-group.json
1"use client"
2
3import * as React from "react"
4import { ToggleGroup as BaseToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group"
5import { cn } from "@/lib/utils"
6
7type BaseToggleGroupProps = React.ComponentProps<typeof BaseToggleGroup>
8
9export type ToggleGroupProps = Omit<BaseToggleGroupProps, "variant" | "className"> & {
10 glow?: boolean
11 variant?: "default" | "glass"
12 className?: string
13}
14
15/**
16 * Glass UI Toggle Group - Enhanced toggle group with glassy effects
17 */
18export const ToggleGroup = React.forwardRef<
19 React.ElementRef<typeof BaseToggleGroup>,
20 ToggleGroupProps
21>(({ className, variant = "glass", glow = false, ...props }, ref) => {
22 return (
23 <BaseToggleGroup
24 ref={ref}
25 variant={variant}
26 className={cn(
27 glow && "shadow-md shadow-purple-500/20",
28 className
29 )}
30 {...(props as BaseToggleGroupProps)}
31 />
32 )
33})
34ToggleGroup.displayName = "ToggleGroup"
35
36export {
37 ToggleGroupItem,
38}
39

What it pulls in

npm packages

  • @radix-ui/react-toggle-group

Other registry items

  • toggle-group

Files it writes

  • lib/utils.ts
  • lib/glass-utils.ts
  • lib/hover-effects.ts
  • app/globals.css
  • components/ui/glass/toggle-group.tsx

Facts

Registry
crenspire/glass-ui
Type
registry:component
Access
Free
Files written
5
Licence
the repository states none
In the index
at or before 2026-08-10
Last confirmed
today

Go to the source

Docs on crenspire/glass-ui glass-ui.crenspire.com crenspire/glass-ui on GitHub Raw registry item This item as JSON

More from crenspire/glass-ui

All 49 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Accordionaccordioncrenspire/glass-uiComponentsFree2 deps · 5 files
Alertalertcrenspire/glass-uiComponentsFreeno deps · 5 files
Alert Dialogalert-dialogcrenspire/glass-uiComponentsFree1 dep · 5 files
Avataravatarcrenspire/glass-uiComponentsFree1 dep · 5 files
Badgebadgecrenspire/glass-uiComponentsFreeno deps · 5 files
Breadcrumbbreadcrumbcrenspire/glass-uiComponentsFree2 deps · 5 files
Buttonbuttoncrenspire/glass-uiComponentsFree1 dep · 5 files
Button Groupbutton-groupcrenspire/glass-uiComponentsFreeno deps · 5 files

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex