"use client"; /** * Textarea Field (NEW) * * Based on TextInputField pattern but uses a textarea element * for multi-line text input */ import { ANIMATION_CLASSES, getStaggerStyle, STAGGER_PRESETS, } from "../animations"; import { cx } from "../lib/utils"; import { OnboardingLabel } from "../primitives/onboarding-label"; import type { TextareaFieldProps } from "../types/fields"; export function TextareaField({ id, label, placeholder, description, required = false, value, onChange, onBlur, error, touched = false, rows = 4, maxLength, animationIndex = 0, disabled = false, }: TextareaFieldProps) { return (
{label} {required && *} {description && (

{description}

)}