1. Docs
  2. Input

Input

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

Input is a primitive meant to be used within other components. The examples below utilizes them inside TextField

Installation

Copy and paste the following code into your project.

Loading...

Update the import paths to match your project setup.

Usage

Basic

File

A file input can be created with an <Input type=“file”> element, but this supports limited styling options and may not integrate well with the overall design of a website or application. To overcome this, FileTrigger extends the functionality of the standard file input element by working with a pressable child such as a Button to create accessible file inputs that can be style as needed.

Disabled

With Label

With Description

Enter an email for us to contact you about your order.