For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any docs URL. An agent skill is available at /.well-known/agent-skills/site-skill.md.
0Sponsor

Card

Bordered content card with title and body.

Takumi Forme
Rendering PDF…

Installation

$ pnpm dlx shadcn@latest add @angular-pdfcn/takumi/card

Usage

import { Component } from "@angular/core";

import { PdfCard } from "@/components/pdf/card/card";
import { PdfText } from "@/components/pdf/text/text";
import { PdfcnThemeProvider } from "@/components/pdf/theme-provider";
import {
  TakumiDocument,
  TakumiPage,
} from "@/lib/pdf-primitives";

@Component({
  imports: [TakumiDocument, TakumiPage, PdfcnThemeProvider, PdfCard, PdfText],
  template: `
    <takumi-document>
      <takumi-page size="A4">
        <pdf-theme-provider>
          <pdf-card title="Project Summary" variant="default" padding="md">
            <pdf-text noMargin
              >This card groups related content with a title and body area. Use
              cards to visually separate sections of your PDF
              document.</pdf-text
            >
          </pdf-card>
        </pdf-theme-provider>
      </takumi-page>
    </takumi-document>
  `,
})
export class CardDemo {}

API Reference

PdfCard

Input Type Default
title string -
variant 'default' | 'bordered' | 'muted' 'default'
padding 'sm' | 'md' | 'lg' 'md'
wrap boolean false

The card body is projected content.