'use client'; import { forwardRef, HTMLAttributes } from 'react'; import styles from './glass-container.module.css'; export interface GlassContainerProps extends HTMLAttributes { /** Blur amount in pixels */ blur?: number; /** Opacity of the glass */ opacity?: number; /** Border opacity */ borderOpacity?: number; /** Border radius */ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full'; /** Glass color tint */ tint?: 'white' | 'black' | 'neutral' | 'custom'; /** Custom tint color */ tintColor?: string; /** Glow effect */ glow?: boolean; /** Glow color */ glowColor?: string; /** Glass variant */ variant?: 'frosted' | 'crystal' | 'dark' | 'light' | 'neon'; } export const GlassContainer = forwardRef( ( { blur = 10, opacity = 0.7, borderOpacity = 0.3, rounded = 'lg', tint = 'white', tintColor, glow = false, glowColor, variant = 'frosted', className, style, children, ...props }, ref ) => { return (
{children}
); } ); GlassContainer.displayName = 'GlassContainer'; export default GlassContainer;