Skip to content
SevenUI
Sign inGet Pro

Textarea components

15 free, copy-and-go React Textarea examples built on the SevenUI Textarea primitive. Install any of them with the shadcn CLI.

On this page

Textarea sizes

Compact, default and spacious textarea densities for a commit summary, a release note and an incident summary, each with its size named beside the label.

… add @sevenui/component/textarea-01… add @sevenui/ui-sdk/component/textarea-01
Compact
Default
Spacious

Surface styles

A toggle group switches one account-notes textarea between outline, filled and ghost surfaces, with a hint for when to use each.

… add @sevenui/component/textarea-02… add @sevenui/ui-sdk/component/textarea-02

Tinted fill, no border. Reads well inside dense forms.

Read-only with copy

A read-only monospace textarea of recovery codes inside an input group, with a read-only label and a Copy button that briefly confirms.

… add @sevenui/component/textarea-03… add @sevenui/ui-sdk/component/textarea-03
Read-only

Each code signs you in once if you lose your authenticator. Store them somewhere safe.

Validation states

A controlled refund-reason textarea with a minimum length that shows a destructive error while too short and a success border once valid.

… add @sevenui/component/textarea-04… add @sevenui/ui-sdk/component/textarea-04

Add 11 more characters so billing can locate the charge. Include the date and last four card digits.

SMS character meter

An SMS reminder template with a live count of characters left in one text and a thin meter that turns from primary to warning to destructive.

… add @sevenui/component/textarea-05… add @sevenui/ui-sdk/component/textarea-05
33 left in 1 text

Sent by SMS 24 hours before each appointment.

Autosaving draft

A weekly update draft that autosaves after typing pauses, with a Saving and Saved status, word count and reading time.

… add @sevenui/component/textarea-06… add @sevenui/ui-sdk/component/textarea-06

Saved at 9:41 AM

42 words · about 1 min readDrafts are kept for 30 days.

Submitting state

A problem-report textarea that disables while sending, then turns into a read-only confirmation with a New report reset.

… add @sevenui/component/textarea-07… add @sevenui/ui-sdk/component/textarea-07

Goes to support with your workspace ID.

Expand on focus

A one-line deal note that grows on focus and slides in a formatting toolbar and Save button, respecting reduced motion.

… add @sevenui/component/textarea-08… add @sevenui/ui-sdk/component/textarea-08

Checkout delivery note

A delivery-instructions textarea under a shipping address, with quick-add suggestion chips and a live count of characters left.

… add @sevenui/component/textarea-09… add @sevenui/ui-sdk/component/textarea-09

Shipping to Maya Chen

1482 Alder Street, Apt 3B, Portland, OR 97205

Optional
Quick instructions

Shared with the courier only. 180 characters left.

Profile bio settings

A settings row for a public bio with a live profile preview and Discard and Save actions that turn on only with unsaved changes.

… add @sevenui/component/textarea-10… add @sevenui/ui-sdk/component/textarea-10

Public bio

Shown on your profile and next to your comments.

69 / 160

IR

Inês Rocha

Product designer at Northwind. Building calm tools for busy support teams. Based in Lisbon.

All changes saved.

Support reply composer

A help-desk ticket thread where saved-reply macros fill the reply textarea and Ctrl or Cmd plus Enter posts the reply.

… add @sevenui/component/textarea-11… add @sevenui/ui-sdk/component/textarea-11

Duplicate charge on March invoice

Ticket 4821 · Jordan Ellis

Open
  1. JE

    I was charged twice for my March subscription. Can you refund the duplicate payment?

Saved replies

CtrlEnterto send

Redirect URL allowlist

A monospace, one-URL-per-line textarea with a line-number gutter that flags invalid, insecure, wildcard and duplicate lines by number.

… add @sevenui/component/textarea-12… add @sevenui/ui-sdk/component/textarea-12

One URL per line. Sign-in only returns users to an exact match.

  • Line 4: Use https outside localhost.
  • Line 5: Wildcards are not supported.

Code review comment

A diff viewer where each line opens an inline Write and Preview textarea for review comments that post under the line.

… add @sevenui/component/textarea-13… add @sevenui/ui-sdk/component/textarea-13
src/lib/retry.ts
41 export async function retry(fn, opts) {
42- const attempts = 3;
42+ const attempts = opts.attempts ?? 5;
43+ const delay = opts.delay ?? 200;
44 for (let i = 0; i < attempts; i++) {

Translation placeholder check

A localization editor that compares a translation against its English source, flags missing or renamed placeholders and inserts them at the cursor.

… add @sevenui/component/textarea-14… add @sevenui/ui-sdk/component/textarea-14

billing.invoice.due_reminder

English to German

Source (en-US)

Hi {name}, invoice {invoiceId} for {amount} is due on {dueDate}. Pay online to keep your workspace active.

Placeholders from the source

Missing {amount}. Click a placeholder to insert it at the cursor.

{betrag} is not in the source. Placeholder names must stay in English.

21% longer than the source. Check it still fits the email preview.

Meeting notes with action items

Meeting notes where every TODO @name line becomes a checklist item assigned to an attendee, with a done count.

… add @sevenui/component/textarea-15… add @sevenui/ui-sdk/component/textarea-15
Launch syncWed, Jul 9 · 10:00
DWOHLB

Start a line with TODO @name to turn it into an action item. Attendees: @dana, @omar, @lena.

Action items

0/3
  • Omar Haddad
  • Lena Brandt
  • Dana Whitfield

Components are the parts. Blocks are the page.

Pro blocks are whole sections and pages — heroes, pricing, dashboards, auth — composed from the same primitives and themed by the same tokens you already use. Install one and it is yours.

One purchase, yours forever. $99 at launch instead of $249.