Responsive field grid for dense form arrangements across phone, tablet, and desktop widths.
One column on small screens and compact multi-column composition above it.
pnpm dlx shadcn@latest add https://matos-ui.com/r/form-grid.jsonimport { FormGrid, FormGridItem } from "@/components/matos-ui/form-grid"
<FormGrid columns="three">
<InputField label="City" />
<InputField label="State" />
<InputField label="Postal code" />
<FormGridItem span="full">
<TextareaField label="Notes" />
</FormGridItem>
</FormGrid>The grid begins as one column and expands with md and lg breakpoints. Available columns are one, two, and three.
Install Matos UI
Choose a package manager and copy one command for every component.