Form

Form: A modular, composable form system with accessible inputs, textareas, custom selects, checkboxes, radio groups, switches, and animated validation messages. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Form

npx motion-ui-skill add form

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • motion
  • react
  • tailwind-merge

Source files

Form

A modular, composable form system with accessible inputs, textareas, custom selects, checkboxes, radio groups, switches, and animated validation messages.

Install

npx motion-ui-skill add form

Dependencies

  • clsx
  • lucide-react
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import { Form as Form } from "@/components/blocks/form";

export function Example() {
  return (
    <div className="p-6">
      <Form />
    </div>
  );
}

Browse this category