Forms
Input
A line of text: a name, an amount, an address.
Installation
pnpm add @elsikora/keystone-ui-kitUsage
import { Input } from "@elsikora/keystone-ui-kit";import { Input } from "@elsikora/keystone-ui-kit";
export default function InputDefaultExample() { return <Input aria-label="Search games" placeholder="Search games" />;}Examples
Default
Disabled
API reference
Input
| Prop | Type | Default | Description |
|---|---|---|---|
type | string | "text" | The input's type. |
disabled | boolean | false | Unavailable. |
Notes
- Use it inside a Field, or give it an aria-label.