---
name: TextArea
menu: Components
route: /components/textArea
---

import { Playground, Props } from 'docz'
import TextArea from './'

# TextArea

## Import
`import { TextArea } from '@blasterjs/core'`

## Basic usage

<Playground>
    <TextArea />
</Playground>


## PropTypes

| Prop | Type | Required | Default | Description |
|:-----|:-----|:---------|:--------|:------------|
| invalid | bool | no | false |  |
| `COMMON` | Style Prop |  |  | see [Style Props](/style-props) |
| `BACKGROUND` | Style Prop |  |  | see [Style Props](/style-props) |
| `BORDER` | Style Prop |  |  | see [Style Props](/style-props) |
| `TYPOGRAPHY` | Style Prop |  |  | see [Style Props](/style-props) |
| `MISC` | Style Prop |  |  | see [Style Props](/style-props) |
| `LAYOUT` | Style Prop |  |  | see [Style Props](/style-props) |
| `POSITION` | Style Prop |  |  | see [Style Props](/style-props) |
| `FLEX_ITEM` | Style Prop |  |  | see [Style Props](/style-props) |


## Theming

### Schema
```
{
  space: {
    p
  },
  colors: {
    bg,
    color,
    borderColor,
    borderColorFocus,
    borderColorInvalid,
    shadowColorFocus,
    bgDisabled
  },
  fonts: {
    fontFamily
  },
  fontSizes: {
    fontSize
  },
  lineHeights: {
    lineHeight
  },
  borders: {
    border
  },
  radii: {
    borderRadius
  },
  overrides: css`
    ...
  `
}
```

- [Default theme](https://github.com/raster-foundry/blasterjs/tree/master/packages/core/theme/components/textArea)
- [Learn more about themeing](/blaster-theme)
