WireScript
Components

input

Form input with 16 input types.

Form input element with label. The content string is the label, not placeholder.

Usage

Text Inputs

Textarea

Selection

Toggles

Numbers

Date & Time

Other Types

States

Input Types

TypeDescription
textText input (default)
emailEmail input
passwordPassword input
searchSearch input
telPhone input
textareaMulti-line text
selectDropdown select
radioRadio button group
checkboxCheckbox
toggleToggle switch
numberNumber input
sliderRange slider
dateDate picker
timeTime picker
colorColor picker
fileFile upload

Properties

accepts content

Layout

PropertyTypeDefault
:rowsnumber-

Sizing

PropertyTypeDefault
:fullflag-
:fitflag-
:fillflag-

Dimensions

PropertyTypeDefault
:widthany-
:heightany-

State

PropertyTypeDefault
:disabledflag-
:errorflag-
:checkedflag-

Input

PropertyTypeDefault
:typesymboltext
:placeholderstring-
:valueany-
:optionsstring-
:minnumber-
:maxnumber-
:stepnumber-

Note: For checkbox/toggle inputs, use :checked true or :checked false as a property to set the initial state.

Examples

Login Form

Settings Form

Filter Form

On this page