Surfaces
Card
GlassCard content patterns: text card, stat cards, accent treatments and a built-in header.
<script>
import { GlassCard } from "@codeatlasdev/ui";
</script>
<GlassCard title="Team" tinted>…</GlassCard>
These are composition patterns built on Glass Card, which owns the full prop list. Cards render as a link when href is set.
Content card
Text-heavy card with eyebrow, title, body and a link.
Featured
Liquid Glass materials
Depth and clarity for UI surfaces through real-time backdrop blur and optical refraction.
Explore materials →Code
Stat cards
Compact metric display.
Components
70+
Svelte 5 + Bits UI
Presets
8
Amber, Ocean, Crimson and more
Tokens
80+
CSS custom properties
Code
Tinted and glowing
Cards with accent treatments.
Tinted
Brand gradient overlay on the surface.
Glowing
Backlit halo behind the surface.
Code
Header and actions
`title` and `headerActions` render a built-in header row.
Team members
Use title and headerActions for a built-in card header.
Code
Props
| Prop | Type | Default | Description |
|---|---|---|---|
thickness | 'ultra-thin' | 'thin' | 'regular' | 'thick' | 'chrome' | 'regular' | Glass thickness tier. |
tinted | boolean | false | Adds the brand accent gradient. |
glowing | boolean | false | Adds a backlit glow halo. |
title | string | undefined | Header title. |
headerActions | Snippet | undefined | Actions aligned to the end of the header. |
class | string | '' | Extra class names. |
children | Snippet | undefined | Card content. |