Components / Input

Input

A styled text field. Forwards every native <input> attribute: type, placeholder, value, disabled, and the rest.

Examples

razor
<ZitsInput type="email" placeholder="you@example.com" />

With label

razor
<ZitsLabel For="email">Email</ZitsLabel>
<ZitsInput id="email" type="email" placeholder="you@example.com" />

Installation

Terminal bash
navius add input

API reference

No bespoke props: ZitsInput splats every attribute onto the native input, so use it exactly like <input>.