Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup.
import { Heading } from "@/registry/bases/takumi/components/heading/heading";
import { Section } from "@/registry/bases/takumi/components/section/section";
import { PdfcnThemeProvider } from "@/registry/bases/takumi/components/theme-provider";
import { Document, Page } from "@/registry/bases/takumi/lib/pdf-primitives";
const DemoBody = () => (
<Section spacing="none">
<Heading level={1}>Main Title</Heading>
<Heading level={2} align="center" color="primary">
Subtitle
</Heading>
<Heading level={3} style={{ color: "#1e3a5f" }}>
Custom Styled
</Heading>
</Section>
);
const Demo = () => (
<Document>
<Page size="A4">
<PdfcnThemeProvider>
<DemoBody />
</PdfcnThemeProvider>
</Page>
</Document>
);
export default Demo;