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

Card

crenspire-glass-ui/card
FreeComponent

Displays a card with optional glassy variant.

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

Source

components/ui/glass/card.tsxglass-ui.crenspire.com/r/card.json
1"use client"
2
3import * as React from "react"
4import { Card as BaseCard, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"
5import { cn } from "@/lib/utils"
6import type { GlassCustomization } from "@/lib/glass-utils"
7import { hoverEffects, type HoverEffect } from "@/lib/hover-effects"
8
9export interface CardProps extends React.ComponentProps<typeof BaseCard> {
10 gradient?: boolean
11 animated?: boolean
12 hover?: HoverEffect
13 glass?: GlassCustomization
14}
15
16/**
17 * Glass UI Card - A beautifully designed card component with glassy effects
18 * Built on top of the base Card component with enhanced visual styling
19 *
20 * @example
21 * ```tsx
22 * // Standard glass variant (default)
23 * <Card variant="glass">
24 * Content
25 * </Card>
26 *
27 * // Frosted glass variant - enhanced blur and opacity
28 * <Card variant="frosted">
29 * Content
30 * </Card>
31 *
32 * // Fluted glass variant - vertical ridges texture
33 * <Card variant="fluted">
34 * Content
35 * </Card>
36 *
37 * // Crystal glass variant - clear with highlights and glow
38 * <Card variant="crystal">
39 * Content
40 * </Card>
41 *
42 * // Custom glass properties
43 * <Card
44 * variant="glass"
45 * glass={{
46 * color: "rgba(139, 92, 246, 0.2)",
47 * blur: 30,
48 * transparency: 0.3,
49 * outline: "rgba(139, 92, 246, 0.5)",
50 * innerGlow: "rgba(255, 255, 255, 0.3)",
51 * innerGlowBlur: 25
52 * }}
53 * gradient
54 * animated
55 * >
56 * Content
57 * </Card>
58 * ```
59 */
60export const Card = React.forwardRef<HTMLDivElement, CardProps>(
61 ({ className, variant = "glass", gradient = false, animated = false, hover = "none", glass, children, ...props }, ref) => {
62 return (
63 <BaseCard
64 ref={ref}
65 variant={variant}
66 glass={glass}
67 className={cn(
68 "relative overflow-hidden",
69 gradient && "bg-gradient-to-br from-purple-500/10 via-blue-500/10 to-pink-500/10",
70 animated && "transition-all duration-300 hover:scale-[1.02] hover:shadow-[var(--glass-shadow-lg)]",
71 hoverEffects({ hover }),
72 className
73 )}
74 {...props}
75 >
76 {children}
77 </BaseCard>
78 )
79 }
80)
81Card.displayName = "Card"
82
83export {
84 CardContent,
85 CardDescription,
86 CardFooter,
87 CardHeader,
88 CardTitle,
89}
90

What it pulls in

Other registry items

  • card

Files it writes

  • lib/utils.ts
  • lib/glass-utils.ts
  • lib/hover-effects.ts
  • app/globals.css
  • components/ui/glass/card.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-13
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