BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/einui/glass-radio

Glass Radio Group

einui/glass-radio
FreeComponent

A liquid glass styled radio group with animated selection.

Live preview

live · rendered by the registry
Rendered by einui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://ui.eindev.ir/r/glass-radio.json

Source

registry/liquid-glass/glass-radio.tsxui.eindev.ir/r/glass-radio.json
1"use client"
2
3import * as React from "react"
4import * as RadioGroupPrimitive from "@radix-ui/react-radio-group"
5import { motion, Variants } from "framer-motion"
6import { cn } from "@/lib/utils"
7
8const indicatorVariants = {
9 initial: { scale: 0, opacity: 0 },
10 checked: {
11 scale: 1,
12 opacity: 1,
13 transition: {
14 type: "spring",
15 visualDuration: 0.2,
16 bounce: 0.5,
17 },
18 },
19}
20
21const GlassRadioGroup = React.forwardRef<
22 React.ElementRef<typeof RadioGroupPrimitive.Root>,
23 React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>
24>(({ className, ...props }, ref) => {
25 return <RadioGroupPrimitive.Root className={cn("grid gap-3", className)} {...props} ref={ref} />
26})
27GlassRadioGroup.displayName = RadioGroupPrimitive.Root.displayName
28
29export interface GlassRadioGroupItemProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> {
30 label?: string
31}
32
33const GlassRadioGroupItem = React.forwardRef<
34 React.ElementRef<typeof RadioGroupPrimitive.Item>,
35 GlassRadioGroupItemProps
36>(({ className, label, id, ...props }, ref) => {
37 const radioId = id || `glass-radio-${props.value}`
38
39 return (
40 <div className="flex items-center gap-3">
41 <RadioGroupPrimitive.Item
42 ref={ref}
43 id={radioId}
44 className={cn(
45 "aspect-square h-5 w-5 rounded-full",
46 "bg-white/10 backdrop-blur-xl border border-white/30",
47 "shadow-[0_2px_8px_rgba(0,0,0,0.2)]",
48 "transition-all duration-200",
49 "focus:outline-none focus-visible:ring-2 focus-visible:ring-cyan-400/50 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent",
50 "disabled:cursor-not-allowed disabled:opacity-50",
51 "data-[state=checked]:border-cyan-400/60",
52 className,
53 )}
54 {...props}
55 >
56 <RadioGroupPrimitive.Indicator className="flex w-full h-full items-center justify-center">
57 <motion.div
58 className="h-2.5 w-2.5 rounded-full bg-linear-to-r from-cyan-400 to-blue-400"
59 initial="initial"
60 animate="checked"
61 variants={indicatorVariants as Variants}
62 transition={{
63 type: "spring",
64 visualDuration: 0.2,
65 bounce: 0.5,
66 }}
67 />
68 </RadioGroupPrimitive.Indicator>
69 </RadioGroupPrimitive.Item>
70 {label && (
71 <label htmlFor={radioId} className="text-sm font-medium text-white/80 cursor-pointer select-none">
72// … truncated

What it pulls in

npm packages

  • @radix-ui/react-radio-group
  • framer-motion

Files it writes

  • registry/liquid-glass/glass-radio.tsx

Facts

Registry
einui
Type
registry:component
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-10
Last confirmed
today

Go to the source

Docs on einui ui.eindev.ir einui/einui on GitHub Raw registry item This item as JSON

More from einui

All 44 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Base Widgetbase-widgeteinuiComponentsFree1 dep
Calendar Widgetscalendar-widgeteinuiComponentsFree1 dep
Clock Widgetsclock-widgeteinuiComponentsFree1 dep
Glass Alert Dialogglass-alert-dialogeinuiComponentsFree1 dep
Glass Avatarglass-avatareinuiComponentsFree1 dep
Glass Badgeglass-badgeeinuiComponentsFree1 dep
Glass Breadcrumbglass-breadcrumbeinuiComponentsFree1 dep
Glass Buttonglass-buttoneinuiComponentsFree2 deps

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