Input
Text input with tokenized variants and slant support.
Installation
npx shadcn@latest add @gameone/inputRegistry dependencies: gameone-utils
Usage
import { Input } from "@/components/ui/input"<Input placeholder="Enter text..." />Examples
Default
import { Input } from "@/components/ui/input"
export function InputDefault() {
return <Input placeholder="Default input" />
}Slant
Angled clip-path input matching the Game One slant geometry.
import { Input } from "@/components/ui/input"
export function InputSlant() {
return <Input variant="slant" placeholder="Slant input" />
}