@umbraco-ui/uui-textarea
Version:
Custom element wrapping the native textarea element. This is a formAssociated element, meaning it can participate in a native HTMLForm. In browsers other then Chrome it may require a polyfill.
36 lines (22 loc) • 736 B
Markdown
# uui-textarea
[](https://www.npmjs.com/package/@umbraco-ui/uui-textarea)
Umbraco style textarea component.
### See it in action
Preview the component on [Storybook](https://uui.umbraco.com/?path=/docs/uui-textarea--docs)
## Installation
### ES imports
```zsh
npm i @umbraco-ui/uui-textarea
```
Import the registration of `<uui-textarea>` via:
```javascript
import '@umbraco-ui/uui-textarea';
```
When looking to leverage the `UUITextareaElement` base class as a type and/or for extension purposes, do so via:
```javascript
import { UUITextareaElement } from '@umbraco-ui/uui-textarea';
```
## Usage
```html
<uui-textarea></uui-textarea>
```