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

Section

Section wrapper with optional title.

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

PropTypeDefault
spacing'none' | 'sm' | 'md' | 'lg' | 'xl''md'
padding'none' | 'sm' | 'md' | 'lg'-
backgroundstring-
borderbooleanfalse
variant'default' | 'callout' | 'highlight' | 'card''default'
accentColorstring-
noWrapbooleanfalse