Composer
Intermediate
Rich text composer with file attachments, draft persistence, and Server Actions.
Demo
0 / 5000
LEGO Blocks
- • Provider — Form state with useActionState
- • Frame — Container layout
- • Header — Title section
- • Input — Textarea field
- • Footer — Action buttons
- • AttachButton — File attachment
- • Attachments — Files list
- • SendButton — Submit button
🏗️ Architecture:
Server Component → Composer.Provider (direct prop) → LEGO blocks