DocsBlog

Get Started

Components

Data Grid

Signals

Styling

Theming

↑↓Navigate
↵Select
EscClose
  • 1.8.0

  • Day

    Night

    Preview

    Switch mode
  • cerberus

    acheron

    elysium

    oceanus

Get Started
Components
Data Grid
Signals
Styling
Theming

Concepts

OverviewCompositionCerberus ContextTesting

Layout

Aspect RatioBleedBoxCenterContainerContainer QueryDividerFlexFloatGridGroupLink OverlayScrollableStackWrap

Components

AccordionAdmonitionAvatarButtonCarouselCheckboxClipboardCollapsibleComboboxConfirm ModalCTA ModalDate PickerDialogFieldFieldsetFile UploaderIconButtonInputLoading StatesMarqueeMenuNotificationsNumber InputPaginationPin InputPopoverProgress IndicatorsPrompt ModalRadioRatingSelectSliderSplit ButtonSwitchTableTabsTagTextTextareaToggleTooltip

Utilities

Client OnlyDownload TriggerEnvironmentFeature FlagsFocus TrapForFormat ByteFormat NumberFormat Relative TimeFormat Relative TimeFrameHighlightJSON Tree ViewLocalePortalPresenceShowSwapsplitPropsTheme

Textarea

The Textarea component displays a textarea field.

  • npm
  • source
  • recipe
  • Ark
View as Markdown
Open this page in Markdown
Anthropic
Open in Claude
Ask questions about this page
OpenAI
Open in ChatGPT
Ask questions about this page

Import

import { Field, Textarea } from '@cerberus/react'

Usage

The Textarea component displays a textarea field.

Loading example...

Secondary Helper Text

The Textarea component supports secondary helper text, which can be used to display additional information or a character count.

Loading example...

Customizing

You can customize the textarea by passing styles directly into the component. Textarea is a re-export of the FieldTextarea primitive.

Loading example...

API

Props

The Textarea accepts the following props in addition to any native textarea props:

NameDefaultDescription
sizeThis size variant of the textarea

The Textarea component also shares the same props mentioned in the Field Textarea API

On this page

  • Import
  • Usage
  • Secondary Helper Text
  • Customizing
  • API
    • Props
Edit this page on Github
We'll never share your email with anyone else.
A name is required to submit this form. It replaces the helper text.
This will help us learn more about you.0/300
0/300
Custom Helper Text