Input

Input

Displays a form input field or a component that looks like an input field.

Usage

It's mandatory to wrap the whole component with the Tailwind tag.

const { Tailwind } = VM.require("uiisnear.near/widget/tailwind");
 
const { Input } = VM.require("uiisnear.near/widget/input");
 
if (Tailwind == undefined) return "";
<Tailwind>
  <Input />
</Tailwind>

API Reference

Classnames

Classnames available to customize the component.

FunctionClassname
InputinputClassname

Examples

Default

File

Disabled

With Label

With Button