Measured entry
originui-comp-73
A compact textarea with its label inset inside a bordered field shell. It ships as a single React component, uses useId to connect the label and control, and relies on Tailwind utilities plus shadcn-style color and state tokens for its appearance.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 17.4 KB (82.8 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A sound visual primitive with a correctly associated label, clean responsive behavior, and no observed accessibility or runtime trouble. Adopt it for the inset-label treatment, but expect to turn the fixed example into a reusable field API for production forms.
Use it if
- You want a persistent label inside a compact multiline field.
- You need a simple textarea that keeps its layout across narrow and wide containers.
- Your form already handles value, validation messages, and submission outside the field component.
Skip it if
- You need a drop-in controlled field with value, change handlers, or forwarded textarea props.
- You need built-in character counting, automatic growth, helper text, or error messaging.
- Your design system does not support Tailwind state variants or shadcn-style theme tokens.
Install
| Declared dependencies | none declared |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
In a non-shadcn project, add React and Tailwind support, define equivalents for the background, foreground, input, ring, destructive, and muted color tokens, and ensure the state variants used by the wrapper are available. Replace those utility classes with local CSS if your stack does not use Tailwind.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/origin-space/originuiAlternatives
Other published entries for the textarea pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- shadcn-textareaunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 29.1KB
- Bare
- pass
- Prov
- NO
- hextaui-textareaminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 29.8KB
- Bare
- pass
- Prov
- NO
- originui-comp-59minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 28.1KB
- Bare
- fail
- Prov
- NO
- originui-comp-60minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 28.1KB
- Bare
- fail
- Prov
- NO
- originui-comp-62minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 28.1KB
- Bare
- fail
- Prov
- NO
- originui-comp-65minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 28.1KB
- Bare
- fail
- Prov
- NO