Field
Field: Form field container uniting label, input control, and error validation message. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Field
npx motion-ui-skill add fieldComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
class-variance-authorityclsxreacttailwind-merge
Source files
Field
Component from Motion UI: field
Install
npx motion-ui-skill add field
Dependencies
class-variance-authorityclsxreacttailwind-merge
Usage
"use client";
import Field from "@/components/craft/field";
export function Example() {
return (
<div className="p-6">
<Field />
</div>
);
}