Glass Panel
A premium glassmorphic panel with heavy blur, luminous shadows, and Framer Motion integration. Built for the NOIR_OS aesthetic.
layoutNew Releaseclass-variance-authorityframer-motion
Installation
$npx futureuikit add glass-panel
Import
import { GlassPanel } from "@/components/ui/glass-panel"
Color Theme
Blur Variant
Glow Effect
Glassmorphism
This panel uses background blur with translucent overlays to create a premium frosted glass effect.
Named Keys & Props
Pass these exact named keys as props on <GlassPanel />. Click any color pill to copy the prop.
colorDefault is "default"(Black & White)variantVisual style"subtle""mantle""heavy""frost"shapeCorner shape"default""square""rounded""sharp"spacingInner spacing"default""2x""4x""6x""8x"Usage Example
A basic implementation example to get you started.
Example Implementation
import { GlassPanel } from"@/components/ui/glass-panel";
export default function Example() {
return (
<GlassPanel variant="heavy"glow="subtle"className="p-8">
<h2 className="text-white">Premium Glass</h2>
</GlassPanel>
);
}Features
Key capabilities and highlights.
Key Capabilities
- ◆Mantle and Heavy blur variants.
- ◆Built-in luminous glow states.
- ◆Integrated with Framer Motion.
- ◆Subtle 1px border highlights.
Notes
Important implementation details to consider.
Implementation Details
- ◆Install: Run'npx futureuikit add glass-panel'.
- ◆Variants:'mantle'for lighter blur,'heavy'for thick frosted glass.
- ◆Glow: Add'glow="subtle"'or'glow="luminous"'for ambient shadows.