IInputProps
interface
Form & Input
Props contract for OrigamInput — the foundational input wrapper. Aggregates density, spacing, rounding, color, border, elevation, dimension, direction, validation, adjacent-slot, and size surfaces.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Inheritance
Extends
Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- centerAffixboolean
- Center the prepend/append affix icons vertically in the input.
- hideDetailsboolean | string
- Hide hint and validation messages. Pass "auto" to hide only when no message is present.
- hideSpinButtonsboolean
- Hide the native browser spin buttons on number inputs.
- hintstring
- Helper text shown below the input.
- persistentHintboolean
- Always show the hint text, even when the input is not focused.
- messagesArray<string> | string
- Validation or status messages to display below the input.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Input with hint and validation messages