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/button

Button

crenspire-glass-ui/button
FreeComponent

Displays a button or a component that looks like a button with glassy variants.

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/button.json

Source

components/ui/glass/button.tsxglass-ui.crenspire.com/r/button.json
1"use client"
2
3import * as React from "react"
4import { Button as BaseButton } from "@/components/ui/button"
5import { cn } from "@/lib/utils"
6import type { GlassCustomization } from "@/lib/glass-utils"
7import { hoverEffects, type HoverEffect } from "@/lib/hover-effects"
8
9export interface ButtonProps
10 extends Omit<React.ComponentProps<typeof BaseButton>, "glass"> {
11 effect?: HoverEffect
12 glass?: GlassCustomization
13}
14
15/**
16 * Glass UI Button - A beautifully designed button component with glassy effects
17 * Built on top of the base Button component with enhanced visual effects
18 *
19 * @example
20 * ```tsx
21 * <Button
22 * glass={{
23 * color: "rgba(59, 130, 246, 0.2)",
24 * blur: 25,
25 * outline: "rgba(59, 130, 246, 0.4)"
26 * }}
27 * >
28 * Click me
29 * </Button>
30 * ```
31 */
32export const Button = React.forwardRef<
33 HTMLButtonElement,
34 ButtonProps
35>(({ className, effect = "glow", variant = "glass", glass, ...props }, ref) => {
36 return (
37 <BaseButton
38 ref={ref}
39 variant={variant}
40 glass={glass}
41 className={cn(
42 "relative overflow-hidden",
43 hoverEffects({ hover: effect }),
44 className
45 )}
46 {...props}
47 />
48 )
49})
50Button.displayName = "Button"
51

What it pulls in

npm packages

  • @radix-ui/react-slot

Other registry items

  • button

Files it writes

  • lib/utils.ts
  • lib/glass-utils.ts
  • lib/hover-effects.ts
  • app/globals.css
  • components/ui/glass/button.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-08
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
Button Groupbutton-groupcrenspire/glass-uiComponentsFreeno deps · 5 files
Calendarcalendarcrenspire/glass-uiComponentsFree3 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