Game One

Input

Text input with tokenized variants and slant support.

Installation

npx shadcn@latest add @gameone/input

Registry dependencies: gameone-utils

Usage

Import
import { Input } from "@/components/ui/input"
Example
<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" />
}