UNPKG

@buddhacognitivelab/theme-glassmorphic

Version:

Enhanced glassmorphic theme package with dual-mode support, advanced glass effects, interactive UI components, and gesture-based interactions

25 lines (24 loc) 855 B
/** * @fileoverview Glassmorphic Checkbox Component * A checkbox component with glassmorphic styling and interactive states */ import React from 'react'; import type { GlassIntensity } from '../../types/theme'; export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> { /** Checkbox size */ size?: 'sm' | 'md' | 'lg'; /** Glass effect intensity */ glassIntensity?: GlassIntensity; /** Checkbox state */ state?: 'default' | 'error' | 'warning' | 'success'; /** Label text */ label?: string; /** Whether checkbox is indeterminate */ indeterminate?: boolean; /** Custom className */ className?: string; } /** * Glassmorphic Checkbox Component */ export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;