UNPKG

react-ios-liquid-glass

Version:

react-ios-liquid-glass is a lightweight React + TypeScript library that helps you easily replicate the elegant iOS liquid glass effect (also known as glassmorphism). With built‑in support for blur, transparency, and smooth transitions, this package allows

15 lines 558 B
import React from "react"; import "./style.css"; interface ILiquidGlassProps extends React.HTMLAttributes<HTMLDivElement> { children: React.ReactNode; width?: string; height?: string; borderRadius?: string; blur?: string; brightness?: string; padding?: string; style?: React.CSSProperties; } export declare const LiquidGlass: ({ children, width, height, borderRadius, blur, brightness, padding, style, ...props }: ILiquidGlassProps) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=GlassBox.d.ts.map