The Coline design system: accessible React components for Coline Apps, themed live by the host workspace, and for Coline Sites in light and dark. Tailwind v4 stylesheet included. MIT.
| 6 | return ( |
| 7 | <textarea |
| 8 | data-slot="textarea" |
| 9 | className={cn( |
| 10 | "flex field-sizing-content min-h-16 w-full resize-none rounded-xl border border-input bg-input/30 px-3 py-3 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-foreground/25 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20 md:text-sm dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", |
| 11 | className |
| 12 | )} |
| 13 | {...props} |
| 14 | /> |
| 15 | ) |
| 16 | } |
| 17 |
| 18 | export { Textarea } |
| 19 |