Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup.
Update page.tsx description and title; remove bases documentation file and adjust meta.json pages list
Aniket-508b65a5439e118
diff --git a/app/(app)/(root)/page.tsx b/app/(app)/(root)/page.tsxindex 38af276..ed0c133 100644--- a/app/(app)/(root)/page.tsx+++ b/app/(app)/(root)/page.tsx@@ -16,17 +16,13 @@ const IndexPage = () => (<PageHerodescription={<>- Beautiful PDFs made simple with Takumi and Forme.+ Ready to use, customizable pdf components for React.<br className="hidden sm:block" />- Install with{" "}- <code className="rounded bg-muted px-1.5 py-0.5 text-sm">- npx shadcn add- </code>- .+ Built on Takumi and Forme. Distributed via shadcn.</>}descriptionClassName="max-w-2xl text-lg sm:text-xl"- title="Beautiful PDFs made simple"+ title="Beautiful PDFs, made simple"titleClassName="max-w-7xl"/>diff --git a/content/docs/(root)/bases.mdx b/content/docs/(root)/bases.mdxdeleted file mode 100644index c52b3b1..0000000--- a/content/docs/(root)/bases.mdx+++ /dev/null@@ -1,13 +0,0 @@-----title: Bases-description: Takumi and Forme registry bases.------# Bases--| Base | Generate | Preview |-| -------- | ------------------------------------ | --------------------------- |-| `takumi` | `takumi-pdf` | `react-pdf` (wojtekmaj) |-| `forme` | `@formepdf/react` + `@formepdf/core` | Forme browser/server render |--Install namespaced items: `@pdfcn/takumi/<name>` or `@pdfcn/forme/<name>`.diff --git a/content/docs/(root)/meta.json b/content/docs/(root)/meta.jsonindex aa6f9aa..1d5a97c 100644--- a/content/docs/(root)/meta.json+++ b/content/docs/(root)/meta.json@@ -1,4 +1,4 @@{- "pages": ["index", "installation", "mcp", "registry", "bases"],+ "pages": ["index", "installation", "mcp", "registry"],"title": "Overview"}diff --git a/content/docs/components/takumi/alert.mdx b/content/docs/components/takumi/alert.mdxindex 149feb3..8a69652 100644--- a/content/docs/components/takumi/alert.mdx+++ b/content/docs/components/takumi/alert.mdx@@ -94,10 +94,10 @@ import { PdfAlert } from "@/components/pdf/alert";### PdfAlert-| Prop | Type | Default |-| ------------ | --------------------------------------------- | ------- |-| `variant` | `'info' \| 'success' \| 'warning' \| 'error'` | 'info' |-| `title` | `string` | - |-| `children` | `ReactNode` | - |-| `showIcon` | `boolean` | true |-| `showBorder` | `boolean` | true |+| Prop | Type | Default |+| ------------ | --------------------------------------------- | --------- |+| `variant` | `'info' \| 'success' \| 'warning' \| 'error'` | `'info'` |+| `title` | `string` | - |+| `children` | `ReactNode` | - |+| `showIcon` | `boolean` | `true` |+| `showBorder` | `boolean` | `true` |diff --git a/content/docs/components/takumi/badge.mdx b/content/docs/components/takumi/badge.mdxindex 961e47b..bb4c720 100644--- a/content/docs/components/takumi/badge.mdx+++ b/content/docs/components/takumi/badge.mdx@@ -96,7 +96,7 @@ import { Badge } from "@/components/pdf/badge";| ------------ | ------------------------------------------------------------------------------------------ | --------- || `label` | `string` | - || `children` | `string` | - |-| `variant` | `'default' \| 'primary' \| 'success' \| 'warning' \| 'destructive' \| 'info' \| 'outline'` | 'default' |-| `size` | `'sm' \| 'md' \| 'lg'` | 'md' |+| `variant` | `'default' \| 'primary' \| 'success' \| 'warning' \| 'destructive' \| 'info' \| 'outline'` | `'default'` |+| `size` | `'sm' \| 'md' \| 'lg'` | `'md'` || `background` | `string` | - || `color` | `string` | - |diff --git a/content/docs/components/takumi/key-value.mdx b/content/docs/components/takumi/key-value.mdxindex a9b375b..f9ebc01 100644--- a/content/docs/components/takumi/key-value.mdx+++ b/content/docs/components/takumi/key-value.mdx@@ -95,14 +95,14 @@ import { KeyValue } from "@/components/pdf/key-value";| Prop | Type | Default || ------------------ | ---------------------------- | ------------ || `items` | `KeyValueEntry[]` | - |-| `direction` | `'horizontal' \| 'vertical'` | 'horizontal' |-| `divided` | `boolean` | false |-| `size` | `'sm' \| 'md' \| 'lg'` | 'md' |-| `labelFlex` | `number` | 1 |-| `labelColor` | `string` | - |-| `valueColor` | `string` | - |-| `boldValue` | `boolean` | false |-| `noWrap` | `boolean` | false |+| `direction` | `'horizontal' \| 'vertical'` | `'horizontal'` |+| `divided` | `boolean` | `false` |+| `size` | `'sm' \| 'md' \| 'lg'` | `'md'` |+| `labelFlex` | `number` | `1` |+| `labelColor` | `string` | - |+| `valueColor` | `string` | - |+| `boldValue` | `boolean` | `false` |+| `noWrap` | `boolean` | `false` || `dividerColor` | `string` | - || `dividerThickness` | `number` | - || `dividerMargin` | `number` | - |diff --git a/content/docs/components/takumi/page-footer.mdx b/content/docs/components/takumi/page-footer.mdxindex 22b1243..d22a2ba 100644--- a/content/docs/components/takumi/page-footer.mdx+++ b/content/docs/components/takumi/page-footer.mdx@@ -97,15 +97,15 @@ import { PageFooter } from "@/components/pdf/page-footer";| `leftText` | `string` | - || `rightText` | `string` | - || `centerText` | `string` | - |-| `variant` | `'simple' \| 'centered' \| 'branded' \| 'minimal' \| 'three-column' \| 'detailed'` | 'simple' |-| `background` | `string` | - |-| `textColor` | `string` | - |-| `marginTop` | `number` | - |-| `address` | `string` | - |-| `phone` | `string` | - |-| `email` | `string` | - |-| `website` | `string` | - |-| `fixed` | `boolean` | false |-| `sticky` | `boolean` | false |-| `pagePadding` | `number` | 0 |-| `noWrap` | `boolean` | true |+| `variant` | `'simple' \| 'centered' \| 'branded' \| 'minimal' \| 'three-column' \| 'detailed'` | `'simple'` |+| `background` | `string` | - |+| `textColor` | `string` | - |+| `marginTop` | `number` | - |+| `address` | `string` | - |+| `phone` | `string` | - |+| `email` | `string` | - |+| `website` | `string` | - |+| `fixed` | `boolean` | `false` |+| `sticky` | `boolean` | `false` |+| `pagePadding` | `number` | `0` |+| `noWrap` | `boolean` | `true` |diff --git a/content/docs/components/takumi/page-header.mdx b/content/docs/components/takumi/page-header.mdxindex 9e37083..f28a4f1 100644--- a/content/docs/components/takumi/page-header.mdx+++ b/content/docs/components/takumi/page-header.mdx@@ -98,13 +98,13 @@ import { PageHeader } from "@/components/pdf/page-header";| `subtitle` | `string` | - || `rightText` | `string` | - || `rightSubText` | `string` | - |-| `variant` | `'simple' \| 'centered' \| 'minimal' \| 'branded' \| 'logo-left' \| 'logo-right' \| 'two-column'` | 'simple' |-| `background` | `string` | - |-| `titleColor` | `string` | - |-| `marginBottom` | `number` | - |-| `address` | `string` | - |-| `phone` | `string` | - |-| `email` | `string` | - |-| `logo` | `ReactNode` | - |-| `fixed` | `boolean` | false |-| `noWrap` | `boolean` | true |+| `variant` | `'simple' \| 'centered' \| 'minimal' \| 'branded' \| 'logo-left' \| 'logo-right' \| 'two-column'` | `'simple'` |+| `background` | `string` | - |+| `titleColor` | `string` | - |+| `marginBottom` | `number` | - |+| `address` | `string` | - |+| `phone` | `string` | - |+| `email` | `string` | - |+| `logo` | `ReactNode` | - |+| `fixed` | `boolean` | `false` |+| `noWrap` | `boolean` | `true` |diff --git a/content/docs/components/takumi/page-number.mdx b/content/docs/components/takumi/page-number.mdxindex 879a64b..86e53b9 100644--- a/content/docs/components/takumi/page-number.mdx+++ b/content/docs/components/takumi/page-number.mdx@@ -94,9 +94,9 @@ import { PdfPageNumber } from "@/components/pdf/page-number";| Prop | Type | Default || ---------- | ------------------------------- | -------------------------------------------- |-| `format` | `string` | 'Page {page} of {total}' |-| `align` | `'left' \| 'center' \| 'right'` | 'center' |-| `size` | `'xs' \| 'sm' \| 'md'` | 'sm' |-| `fixed` | `boolean` | false |-| `muted` | `boolean` | true |+| `format` | `string` | `'Page {page} of {total}'` |+| `align` | `'left' \| 'center' \| 'right'` | `'center'` |+| `size` | `'xs' \| 'sm' \| 'md'` | `'sm'` |+| `fixed` | `boolean` | `false` |+| `muted` | `boolean` | `true` || `children` | `never` | - |diff --git a/content/docs/components/takumi/section.mdx b/content/docs/components/takumi/section.mdxindex e2d75b0..c0aaeec 100644--- a/content/docs/components/takumi/section.mdx+++ b/content/docs/components/takumi/section.mdx@@ -97,10 +97,10 @@ import { Text } from "@/components/pdf/text";| 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 |+| `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` |diff --git a/content/docs/components/takumi/signature.mdx b/content/docs/components/takumi/signature.mdxindex d5491f2..8ee29e9 100644--- a/content/docs/components/takumi/signature.mdx+++ b/content/docs/components/takumi/signature.mdx@@ -94,7 +94,7 @@ import { PdfSignatureBlock } from "@/components/pdf/signature";| Prop | Type | Default || --------- | ------------------------------------ | -------- |-| `variant` | `'single' \| 'double' \| 'inline'` | 'single' |+| `variant` | `'single' \| 'double' \| 'inline'` | `'single'` || `label` | `string` | - || `name` | `string` | - || `title` | `string` | - |diff --git a/content/docs/components/takumi/stack.mdx b/content/docs/components/takumi/stack.mdxindex 8bbef8f..5e7b14e 100644--- a/content/docs/components/takumi/stack.mdx+++ b/content/docs/components/takumi/stack.mdx@@ -98,9 +98,9 @@ import { Text } from "@/components/pdf/text";| Prop | Type | Default || ----------- | ------------------------------------------------------- | ---------- |-| `gap` | `'none' \| 'sm' \| 'md' \| 'lg' \| 'xl'` | 'md' |-| `direction` | `'vertical' \| 'horizontal'` | 'vertical' |-| `align` | `'start' \| 'center' \| 'end' \| 'stretch'` | 'start' |-| `justify` | `'start' \| 'center' \| 'end' \| 'between' \| 'around'` | 'start' |-| `wrap` | `boolean` | false |-| `noWrap` | `boolean` | false |+| `gap` | `'none' \| 'sm' \| 'md' \| 'lg' \| 'xl'` | `'md'` |+| `direction` | `'vertical' \| 'horizontal'` | `'vertical'` |+| `align` | `'start' \| 'center' \| 'end' \| 'stretch'` | `'start'` |+| `justify` | `'start' \| 'center' \| 'end' \| 'between' \| 'around'` | `'start'` |+| `wrap` | `boolean` | `false` |+| `noWrap` | `boolean` | `false` |diff --git a/content/docs/components/takumi/watermark.mdx b/content/docs/components/takumi/watermark.mdxindex 6af7260..a9f3ff6 100644--- a/content/docs/components/takumi/watermark.mdx+++ b/content/docs/components/takumi/watermark.mdx@@ -101,5 +101,5 @@ import { Text } from "@/components/pdf/text";| `color` | `string` | - || `angle` | `number` | - || `position` | `'center' \| 'top-left' \| 'top-right' \| 'bottom-left' \| 'bottom-right'` | - |-| `fixed` | `boolean` | true |+| `fixed` | `boolean` | `true` || `children` | `never` | - |