# `PhoenixKitWeb.Components.Core.Textarea`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.165/lib/phoenix_kit_web/components/core/textarea.ex#L1)

Provides a default textarea UI component.

# `textarea`

## Attributes

* `field` (`Phoenix.HTML.FormField`)
* `id` (`:any`) - Defaults to `nil`.
* `name` (`:any`)
* `label` (`:string`) - Defaults to `nil`.
* `value` (`:any`)
* `errors` (`:list`) - Defaults to `[]`.
* `class` (`:any`) - extra classes merged onto the `<textarea>` element (e.g. `textarea-sm`, `min-h-[12rem]`). Defaults to `nil`.
* Global attributes are accepted. Supports all globals plus: `["autocomplete", "cols", "maxlength", "disabled", "placeholder", "readonly", "required", "rows"]`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
