Skip to content

Forms

Input

A line of text: a name, an amount, an address.

Installation

Terminal
pnpm add @elsikora/keystone-ui-kit

Usage

Import
import { Input } from "@elsikora/keystone-ui-kit";
docs/input/default.example.tsx
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

PropTypeDefaultDescription
typestring"text"The input's type.
disabledbooleanfalseUnavailable.

Notes

  • Use it inside a Field, or give it an aria-label.