Components
Browse our collection of 55 beautiful, glassy UI components.
Button variants
Semantic
variants on Button: behavior styles, each riding its default surface.Button materials
The five materials via the
material prop, plus the gradient axis layering the theme-aware brand gradient over the material.Gradient intensity, over each glass type
The theme-aware
--gradient (follows the foreground hue, the tint hue unless a fresco decouples it) overlaid on each surface at three strengths. Medium is the winner: it's the glass-gradient accent class, which the gradient prop layers over any material. Note how Bold hides the surface (all types converge) while Subtle keeps each glass texture.SubtleMediumBoldglassfrostedcrystalchakraopaque
Gradient axes + direction
The brand gradient re-aimed along each ramp axis: the real
hue / chroma / lightness / tonal ramps from lib/oklch-utils, forward and reversed. All follow the current tint hue; flip the tint up top to watch them shift.forwardreversehuechromalightnesstonal
Glow
The Button's
effect="glow" (and the glow prop on cards, badges, avatars…) casts a colored shadow from --glass-glow, whose hue follows the active tint, so it recolors per theme. Off on the left, on across four tints. Hover any to watch it intensify.none
sapphire
sistine
aventurine
rose
Hover effects
Every glass component takes an
effect (or hover) prop backed by the shared hoverEffects variants. Hover each to see it.glow
shimmer
ripple
lift
scale
Accordion
A vertically stacked set of interactive headings that each reveal a section of content.
View →
Alert
Displays a callout for user attention with optional glass material.
View →
Alert Dialog
A modal dialog that interrupts the user with important content and expects a response.
View →
Auto Foreground
Sets --foreground / --muted-foreground from an OKLCH ramp so text contrast tracks light/dark automatically. Configure declaratively via props (palette, start, ramp) or a persisted config; re-applies on theme change.
View →
Avatar
An image element with a fallback for representing the user.
View →
Badge
Displays a badge or a component that looks like a badge, with the glass material system.
View →
Breadcrumb
Displays the path to the current resource using a hierarchy of links.
View →
Button
Displays a button or a component that looks like a button, with the glass material system.
View →
Button Group
NEWA group of buttons, with the glass material system.
View →
Calendar
A date field component that allows users to enter and edit date.
View →
Canvas Background
Full-screen animated canvas background that recolors with the live glass tint — gradient, lava, or circle styles driven by the OKLCH ramps.
View →
Card
Displays a card with optional glass material.
View →
Carousel
NEWAn items-driven carousel, with the glass material system — pass slides as children (no compound CarouselContent/Item/Next/Previous/API parts).
View →
Chart
Chart components built with Recharts with optional glass material.
View →
Checkbox
A control that allows the user to toggle between checked and not checked with optional glass material.
View →
Collapsible
An interactive component which expands/collapses a panel.
View →
Command
Fast, composable, unstyled command menu for React.
View →
Context Menu
NEWA context menu component, with the glass material system.
View →
Cropper
An image cropper component with optional glass material.
View →
Date Picker Input
NEWA date picker input component, with the glass material system.
View →
Dialog
A window overlaid on either the primary window or another dialog window, rendering the content underneath inert.
View →
Drawer
A drawer component for mobile with optional glass material.
View →
Dropdown Menu
Displays a menu to the user — such as a set of actions or functions — triggered by a button with optional glass material.
View →
Empty State
NEWAn empty state component, with the glass material system.
View →
Gradient Background
A ramp-driven gradient wallpaper that recolors with the live glass tint, and lays a fresco preset (sistine/muse/aurora/gloaming) multi-hue palette across the gradient. Pure CSS, crisp at any DPI.
View →
Gradient Text
Fills text with a gradient via background-clip. Defaults to the theme's --gradient-text (follows the live glass tint) and falls back to a fixed brand gradient standalone.
View →
Hover Card
For sighted users to preview content available behind a link.
View →
Input
Displays a form input field with optional glass material.
View →
Input Group
NEWA group of inputs, with the glass material system.
View →
Input OTP
Accessible one-time password component with copy paste functionality.
View →
Label
Renders an accessible label associated with controls.
View →
Menu Bar
NEWA menu bar component, with the glass material system.
View →
Mode Toggle
A theme switcher component with optional glass material. Requires a next-themes ThemeProvider (uses useTheme) — wrap your app or swap in your own theme store.
View →
Navigation Menu
A collection of links for navigating websites.
View →
Pagination
Pagination with page navigation with optional glass material.
View →
Popover
Displays rich content in a portal, triggered by a button with optional glass material.
View →
Radio Group
A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time with optional glass material.
View →
Readable Text
APCA contrast guard: renders text in an accent color while it stays readable on the current glass surface, and swaps to a readable foreground otherwise. Reactive to the live glass tint and light/dark.
View →
Resizable
Resizable panel groups and handles with a glassy grip, built on react-resizable-panels.
View →
Scroll Area
Augments native scroll functionality for custom, cross-browser styling.
View →
Select
Displays a list of options for the user to pick from—triggered by a button with optional glass material.
View →
Separator
Visually or semantically separates content with optional glass material.
View →
Sheet
Extends the Dialog component to display content that complements the main content of the screen.
View →
Sidebar
A sidebar component with optional glass material.
View →
Skeleton
Use to show a placeholder while content is loading with optional glass material.
View →
Slider
An input where the user selects a value from within a given range.
View →
Sonner
An opinionated toast component for React.
View →
Spinner
NEWA loading spinner component, with the glass material system.
View →
Switch
A control that allows the user to toggle between checked and not checked with optional glass material.
View →
Table
A responsive table, with the glass material system and optional striped (alternating-brightness) or bordered rows.
View →
Tabs
A set of layered sections of content—known as tab panels—that are displayed one at a time with optional glass material.
View →
Textarea
Displays a form textarea with optional glass material.
View →
Toggle
A two-state button that can be either on or off.
View →
Toggle Group
A set of two-state buttons that can be toggled on or off.
View →
Tooltip
A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it with optional glass material.
View →