About
A form layout that stacks label and input vertically on small screens and switches to a horizontal row on wider containers, built on the shadcn Field primitive.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Field Responsive to your project and fits it to your theme.
Code
How Field Responsive is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import FieldResponsive from "@/components/ui/field-responsive";
export default function FieldResponsiveDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<FieldResponsive />
</div>
);
}
















