@hig/text-area

2.2.0 • Public • Published

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 @hig/theme-context @hig/theme-data

Import the component

import TextArea from '@hig/text-area';

Basic usage

<TextArea
  placeholder="Foo"
/>

Custom CSS

Use the className prop to pass in a css class name to the outermost container of the component. The class name will also pass down to most of the other styled elements within the component.

/@hig/text-area/

    Package Sidebar

    Install

    npm i @hig/text-area

    Weekly Downloads

    19

    Version

    2.2.0

    License

    Apache-2.0

    Unpacked Size

    110 kB

    Total Files

    5

    Last publish

    Collaborators

    • hig-bot
    • nfiniteset
    • wmui51
    • staceyshk