This package has been deprecated

Author message:

please use @hig/input instead

@hig/text-field

1.0.2 • Public • Published

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

<TextField
  label="Tab title"
  placeholder="Foo"
  required="This field is required."
/>

Readme

Keywords

none

Package Sidebar

Install

npm i @hig/text-field

Weekly Downloads

3

Version

1.0.2

License

Apache-2.0

Unpacked Size

106 kB

Total Files

7

Last publish

Collaborators

  • hig-bot
  • nfiniteset
  • wmui51
  • staceyshk