For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
/
0
Sponsor

Form

Labeled form groups for PDF inputs.

Installation

$ pnpm dlx shadcn@latest add @pdfcn/takumi/form

Usage

import { PdfForm } from "@/components/pdf/form";
<PdfForm title="Contact" groups={[{ fields: [{ label: "Email" }] }]} />

Variants

<PdfForm
  variant="outlined"
  labelPosition="left"
  groups={[{ title: "Contact", layout: "two-column", fields }]}
/>

API Reference

PdfForm

PropTypeDefault
titlestring-
subtitlestring-
groupsPdfFormGroup[]-
variant'underline' | 'box' | 'outlined' | 'ghost''underline'
labelPosition'above' | 'left''above'
noWrapbooleanfalse
styleStyle-

Groups support single, two-column, and three-column layouts.