@objectifthunes/whiteboard
FORMS

Input

A styled <input>. Forwards refs, accepts every native prop.


PREVIEW
SOURCE
import { Input } from '@objectifthunes/whiteboard'

<Input placeholder="Hello world" />
<Input type="email" placeholder="you@example.com" />
<Input type="number" defaultValue={42} />
<Input disabled defaultValue="Disabled" />
NOTES

Forwards refs. Accepts every native <input> prop. Styling lives entirely on the base input selector in whiteboard.css — drop in any type (text, email, number, password, date, etc.) and it inherits.