← Back to Components

Input

basic

Text input field with validation support

Parameters

valueplaceholderdisabledrequiredtypenameidariaLabel

Sizes

defaultsmlg

Preview

Example

{
  "kind": "component",
  "name": "Input",
  "props": {
    "placeholder": { "expr": "lit", "value": "Enter text..." },
    "type": { "expr": "lit", "value": "text" }
  }
}

Installation

Copy component files from:

node_modules/@constela/ui/components/input/