Form Controls
Labeled native inputs, selects and textareas with inline validation.
Installation
npx shadcn@latest add checkfu/uicontext/form-controlsUsage
import { FormField, Input } from "./ui/uicontext/components/FormControls.ts"
FormField(h, { id: "project", label: "Project name" }, (attrs) => [
Input(h).attrs({ ...attrs, name: "project", required: "" }),
])