Skip to content

Component gallery

  1. Forms
  2. Textareas

Primitives

  • Buttons30
  • Badges21
  • Keys4
  • Status8
  • Avatars8
  • Alerts4
  • Cards10
  • Dropdowns4
  • Corner windows3
  • Dialogs7
  • Windows4
  • Taskbar1
  • Launcher1
  • Desk icons1
  • Progress8
  • Scroll cues2

Forms

  • Toggles5
  • Selects3
  • Inputs8
  • Textareas7
  • Segmented controls4
  • Attachments18

Content

  • Quotes5
  • Stats5
  • Heatmap3
  • Icon lists2
  • Masonry2
  • Accordion2
  • Code8
  • Contact methods7

Chat

  • Messages22
  • Posts29

Showcase

  • Media cards4
  • Logos1
  • 88x31s15
  • Carousel3
  • Blueprint frames2
  • Card grids3

Media

  • Figures4
  • Audio player4
  • Media player3
  • Radio5
  • Shorts2

Toys

  • Terminal4
  • Destructor1
  • Status board7

Sections

  • Section3
  • Side hero2
  • Navbar5
  • Footer1
  • Sidebar2

Display

ThemeT
Mode
Mode
M
Style
Style
Y
Spacing
Spacing
Radius
Radius
Font size
Font size
Compare
Compare
Effects
S

ShortcutsAlt+Shift+key

Components

Primitives

  • Buttons30
  • Badges21
  • Keys4
  • Status8
  • Avatars8
  • Alerts4
  • Cards10
  • Dropdowns4
  • Corner windows3
  • Dialogs7
  • Windows4
  • Taskbar1
  • Launcher1
  • Desk icons1
  • Progress8
  • Scroll cues2

Forms

  • Toggles5
  • Selects3
  • Inputs8
  • Textareas7
  • Segmented controls4
  • Attachments18

Content

  • Quotes5
  • Stats5
  • Heatmap3
  • Icon lists2
  • Masonry2
  • Accordion2
  • Code8
  • Contact methods7

Chat

  • Messages22
  • Posts29

Showcase

  • Media cards4
  • Logos1
  • 88x31s15
  • Carousel3
  • Blueprint frames2
  • Card grids3

Media

  • Figures4
  • Audio player4
  • Media player3
  • Radio5
  • Shorts2

Toys

  • Terminal4
  • Destructor1
  • Status board7

Sections

  • Section3
  • Side hero2
  • Navbar5
  • Footer1
  • Sidebar2

Forms · 4 of 6

Textareas

packages/ui/src/astro/ui/textarea.astro7 stories

Preview settings
Width
Preview width
Stage
Stage
default
Props of default
<Textarea label="Example" placeholder="Write something…" />
Open textarea/default on its own
filled
Props of filled
<Textarea label="Example" value="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor …" />
Open textarea/filled on its own
max-rows
Props of max-rows
<Textarea label="Example" rows={2} maxRows={5} value="Grows with its content up to five lines, then scrolls.\nTwo\nThree\nFour\nFive\nSix\n…" />
Open textarea/max-rows on its own
required
Props of required
<Textarea label="Example" placeholder="Required, at least 10 characters" required minlength={10} />
Open textarea/required on its own
invalid
Props of invalid
<Textarea label="Example" value="Not quite right" aria-invalid="true" />
Open textarea/invalid on its own
readonly
Props of readonly
<Textarea label="Example" value="Read only" readonly />
Open textarea/readonly on its own
disabled
Props of disabled
<Textarea label="Example" placeholder="Disabled" disabled />
Open textarea/disabled on its own
PreviousInputsNextSegmented controls