Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 563 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 563 Bytes

Text Area

Text areas allow the user to input a larger amount of freeform text (over 100 characters).

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

Getting started

Install the package

yarn add @hig/text-area

Import the component and CSS

import TextArea from '@hig/text-area';
import '@hig/text-area/build/index.css';

Basic usage

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