Murasaki
Components

Input

Displays a form input field or a component that looks like an input field.

Usage

import { Input } from "@murasakijs/ui";
<Input type="email" placeholder="Email" />

API Reference

Props

PropTypeDefault
typestring"text"

Input is a thin styled wrapper around the native <input> element — every other attribute (placeholder, disabled, value, onChange, required, ...) is forwarded straight through.

Improve this page on GitHub

On this page