Props
label?: stringOptional field label rendered above the textarea.
error?: stringValidation message that marks the textarea as invalid.
hint?: stringHelper copy shown below the textarea when no error is present.
...TextareaHTMLAttributes<HTMLTextAreaElement>Supports standard textarea props such as rows, value, placeholder, and onChange.
Example
Textarea.tsx
import { useState } from 'react';
import { Textarea } from '@meteorack/sdk-react';
export function NotesField() {
const [notes, setNotes] = useState('');
return (
<Textarea
label="Internal Notes"
rows={6}
hint="Visible only to administrators."
value={notes}
onChange={(e) => setNotes(e.target.value)}
/>
);
}