Glass Input
A text input field with glass surface treatments.













import { GlassInput } from "@/components/ui/glasscn/glass-input"
export function InputDemo() {
return (Installation
$ npx shadcn add @glasscn/glass-inputVariants
clear
frosted
subtle
liquid
liquid-refract
API
Prop
Type
Default
Description
GlassInput
glassVariant"clear" | "frosted" | "subtle" | "liquid" | "liquid-refract""clear"Controls the glass surface treatment.
GlassInput
...propsReact.ComponentProps<typeof Input>-Props from the underlying shadcn/ui primitive.