Installation
$ pnpm dlx shadcn@latest add @pdfcn/takumi/section
Usage
import { Section } from "@/components/pdf/section";
import { Text } from "@/components/pdf/text";<Section>
<Text>Section body</Text>
</Section>API Reference
Section
| Prop | Type | Default |
|---|---|---|
spacing | 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'md' |
padding | 'none' | 'sm' | 'md' | 'lg' | - |
background | string | - |
border | boolean | false |
variant | 'default' | 'callout' | 'highlight' | 'card' | 'default' |
accentColor | string | - |
noWrap | boolean | false |