Navigation
Glass Tabs
Radix tabs wrapped in glass list and panel surfaces.
Preview
Release demos ready. Update 0.
Installation
First add the exact @glassyui mapping to components.json as shown in Getting Started. Then run the pinned item command:
pnpm dlx [email protected] add @glassyui/glass-tabsDirect registry declarations
These values belong to @glassyui/glass-tabs itself in registry.json.
Package dependencies
@radix-ui/react-tabsclsx
Registry dependencies
@glassyui/glass-panel
File targets
components/glassyui/glass-tabs.tsx
Complete installed closure
This follows every namespaced registry dependency recursively and de-duplicates the packages and target files installed with this item.
Package dependencies
@radix-ui/react-tabsclsx
Installed files
components/glassyui/glass-tabs.tsxcomponents/glassyui/glass-panel.tsxcomponents/glassyui/glass-surface.tsxcomponents/glassyui/lib/merge-refs.tscomponents/glassyui/lib/use-local-light.tscomponents/glassyui/lib/refraction-map.tscomponents/glassyui/lib/use-refraction-filter.tsxcomponents/glassyui/glass-provider.tsxcomponents/glassyui/liquid-filters.tsxcomponents/glassyui/lib/preferences.tscomponents/glassyui/styles/liquid.css
Usage
import { GlassTabs, GlassTabsContent, GlassTabsList, GlassTabsTrigger } from "@/components/glassyui/glass-tabs";
export function TabsDemo() {
return (
<GlassTabs defaultValue="preview">
<GlassTabsList>
<GlassTabsTrigger value="preview">Preview</GlassTabsTrigger>
<GlassTabsTrigger value="code">Code</GlassTabsTrigger>
</GlassTabsList>
<GlassTabsContent value="preview">Glass preview</GlassTabsContent>
<GlassTabsContent value="code">Copy-ready code</GlassTabsContent>
</GlassTabs>
);
}Examples
<GlassTabs defaultValue="preview">...</GlassTabs>API
GlassTabsRadix Tabs root.
GlassTabsListGlass pill list for triggers.
GlassTabsTriggerSemantic Radix trigger with active glass styling.
GlassTabsContentPanel-backed tab content.
Notes
Accessibility
Keep the Radix-backed semantics intact and preserve visible labels, focus states, and keyboard operation when copying the source.
Performance
Use provider quality preferences for dense app screens. Reserve strong refraction for hero or showcase surfaces.