Skip to content
API reference

components/input

Import
import * as api from "@fungi.computer/caps/components/input";
Kind Export Description
type alias InputProps Props accepted by Input.
constant Input A styled native text input that preserves caller-owned value and event behavior.
constant SearchInput A native search input with an optional decorative leading icon.

InputPropstype alias

Section titled “InputProps”
Signature
type InputProps = object & InputHTMLAttributes<HTMLInputElement>;

Props accepted by Input.

Name Type
invalid? boolean

Inputconstant

Section titled “Input”
Signature
const Input: ForwardRefExoticComponent<
object &
InputHTMLAttributes<HTMLInputElement> &
RefAttributes<HTMLInputElement>
>;

A styled native text input that preserves caller-owned value and event behavior.


SearchInputconstant

Section titled “SearchInput”
Signature
const SearchInput: ForwardRefExoticComponent<
object &
InputHTMLAttributes<HTMLInputElement> &
object &
RefAttributes<HTMLInputElement>
>;

A native search input with an optional decorative leading icon.