Input
Capture user input
Tag:
x-turbine-ui-input
<x-turbine-ui-inputtype="text"placeholder="default text input"/><x-turbine-ui-inputtype="text"placeholder="brand text input"variant="brand"/><x-turbine-ui-inputtype="text"placeholder="primary text input"variant="primary"/><x-turbine-ui-inputtype="text"placeholder="secondary text input"variant="secondary"/><x-turbine-ui-inputtype="text"placeholder="success text input"variant="success"/><x-turbine-ui-inputtype="text"placeholder="warning text input"variant="warning"/><x-turbine-ui-inputtype="text"placeholder="danger text input"variant="danger"/><x-turbine-ui-inputtype="text"placeholder="default text input with label"label="Name"/><x-turbine-ui-inputtype="email"placeholder="default text input with label & icon"label="Email"prefix="<i class='fa-solid fa-envelope'></i>"divide/>
Attributes
Name | Type | Options | Description |
---|---|---|---|
accent | boolean | Adds an accent | |
border | boolean | Adds a border | |
divide | boolean | Adds a divide between elements | |
full | boolean | Makes full width | |
hollow | boolean | Removes background colour | |
label | string | Adds a text label | |
prefix | string | Adds content to the start | |
ring | boolean | Adds a ring | |
rounded | boolean | Adds a rounded corner | |
shadow | boolean | Adds a shadow | |
size | string | Size is used to control styles such as margin, padding and font size. Extensible via the theme. | |
suffix | string | Adds content to the end | |
type | string | Sets type attribute | |
variant | string | A variant is like a colour palette |