Form Builder
A dynamic form component with validation, multiple field types, and user-friendly interfaces. Perfect for user registration, settings configuration, surveys, contact forms, and structured data entry workflows.
Preview

Installation
Schema & Prompt Control
Conversation
Installation
Instructions
# Initialize HAX in your project agntcy-hax init # Add the component agntcy-hax add artifact form
Usage
The form component integrates with AI agents through CopilotKit. Users interact with AI agents through natural language, and the agents automatically create appropriate forms with proper field types and validation.
Component Setup
Setup
import { HAXDetails, useFormAction } from "@/hax/artifacts/form";export function RegistrationPage() {const [artifacts, setArtifacts] = useState([]);// Register form actions for AI agentsuseFormAction({addOrUpdateArtifact: (type, data) => {// Handle form updates}});const handleFormSubmit = (formTitle, data) => {console.log('Form submitted:', formTitle, data);};return (<HAXFormtitle="User Registration"fields={formFields}onFormSubmit={handleFormSubmit}/>);}
Form Builder
A dynamic form component with validation, multiple field types, and user-friendly interfaces. Perfect for user registration, settings configuration, surveys, contact forms, and structured data entry workflows.
Preview

Installation
Schema & Prompt Control
Conversation
Installation
Instructions
# Initialize HAX in your project agntcy-hax init # Add the component agntcy-hax add artifact form
Usage
The form component integrates with AI agents through CopilotKit. Users interact with AI agents through natural language, and the agents automatically create appropriate forms with proper field types and validation.
Component Setup
Setup
import { HAXDetails, useFormAction } from "@/hax/artifacts/form";export function RegistrationPage() {const [artifacts, setArtifacts] = useState([]);// Register form actions for AI agentsuseFormAction({addOrUpdateArtifact: (type, data) => {// Handle form updates}});const handleFormSubmit = (formTitle, data) => {console.log('Form submitted:', formTitle, data);};return (<HAXFormtitle="User Registration"fields={formFields}onFormSubmit={handleFormSubmit}/>);}