HIG Text Field


1.0.23 years ago3 years agoMinified + gzip package size for @hig/text-field in KB


Text Field

Text Fields allow the user to input a small amount of freeform text (100 characters or less).

Read more about when and how to use the Text Field component on the website.

Getting started

Install the package

yarn add @hig/text-field

Import the component and CSS

import TextField from '@hig/text-field';
import '@hig/text-field/build/index.css';

Basic usage

  label="Tab title"
  required="This field is required."

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.