Forum New Thread Composer
Start a forum thread.
No standalone preview for this component. Install it to see it in your project.
About this block
What it's for
- Start a forum thread.
- Submit a feature request.
- Open a Q&A question.
Includes
- Modal form
- Inline validation
- First error focus
- Slug generation
- Tag parsing
Works with
- Radix UI primitives (the registry variant it ships in)
- React 19 and Tailwind CSS 4 in Next.js (App Router), Vite, React Router or TanStack Start, installed with the agentic-ui or shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add forum-new-thread-composerInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/forum-new-thread-composerUsed in
A standalone component: drop it into any screen.
- Type
- Block
- Variants
- Radix UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- Sample data
- Ships with sample data in its own files; replace it with your own.
- npm packages
lucide-react- Registry dependencies
lib-collab-comments-threadlib-community-moderation-queuelib-motionlib-motion-listlib-motion-micro-interactionslib-motion-modal-enterlib-primitiveslib-tokensmotion-skeleton-shimmermotion-tab-indicator- Files
11 files
- components/agentic-ui/forum-new-thread-composer/components/thread-list.tsx
- components/agentic-ui/forum-new-thread-composer/components/ui.tsx
- components/agentic-ui/forum-new-thread-composer/components/motion-bridges.tsx
- components/agentic-ui/forum-new-thread-composer/components/forum-store.tsx
- components/agentic-ui/forum-new-thread-composer/lib/forum-types.ts
- components/agentic-ui/forum-new-thread-composer/lib/forum-logic.ts
- components/agentic-ui/forum-new-thread-composer/lib/fixtures.ts
- components/agentic-ui/forum-new-thread-composer/components/forum-shell.tsx
- components/agentic-ui/forum-new-thread-composer/components/motion-settings.tsx
- components/agentic-ui/forum-new-thread-composer/lib/format.ts
- components/agentic-ui/forum-new-thread-composer/components/forum-bits.tsx
Related components
A11y Contrast Badge
Check in the browser whether the theme palette meets AA before opening the PR.
Details and live previewA11y Focus Manager
Confirmation dialog that returns focus to the button that opened it.
Details and live previewA11y Live Announcer
Announce the number of results when filtering a table without reloading the page.
Details and live previewA11y Skip Links
Skip the side navigation and header to reach the main content.
Details and live preview