Input

A glass text field. 44px tall with 16px text on phones, so iOS Safari doesn't zoom in when you tap it.

Default

Preview

With a label

Preview

States

Preview

Sizes

Preview

Installation

npx glass-orbit add input

Usage

import { Input } from "@/components/glass-orbit/input"

API Reference

variant

"glass" | "solid" — default glass

size

"sm" | "default" | "lg" — small stays 16px text on phones to avoid zoom

aria-invalid

boolean — shows the error style