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.

Installation
Schema & Prompt Control
Conversation
Instructions
# Initialize HAX in your projecthax init# Add the componenthax add artifact form
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.
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}/>);}
© 2025 Outshift. All Rights Reserved.
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.

Installation
Schema & Prompt Control
Conversation
Instructions
# Initialize HAX in your projecthax init# Add the componenthax add artifact form
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.
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}/>);}
© 2025 Outshift. All Rights Reserved.