[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-vercel-labs-react-pdf":3,"mdc-bkr09m-key":33,"related-repo-vercel-labs-react-pdf":2798,"related-org-vercel-labs-react-pdf":2899},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":28,"sourceUrl":31,"mdContent":32},"react-pdf","render PDF documents from JSON specs","React PDF renderer for json-render. Use when generating PDF documents from JSON specs, working with @json-render\u002Freact-pdf, or rendering specs to PDF buffers\u002Fstreams\u002Ffiles.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"vercel-labs","Vercel Labs","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvercel-labs.png",[12,16,19],{"name":13,"slug":14,"type":15},"PDF","pdf","tag",{"name":17,"slug":18,"type":15},"React","react",{"name":20,"slug":21,"type":15},"Documents","documents",15678,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fjson-render","2026-07-17T06:08:37.079248",null,845,[],{"repoUrl":23,"stars":22,"forks":26,"topics":29,"description":30},[],"The Generative UI framework","https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fjson-render\u002Ftree\u002FHEAD\u002Fskills\u002Freact-pdf","---\nname: react-pdf\ndescription: React PDF renderer for json-render. Use when generating PDF documents from JSON specs, working with @json-render\u002Freact-pdf, or rendering specs to PDF buffers\u002Fstreams\u002Ffiles.\n---\n\n# @json-render\u002Freact-pdf\n\nReact PDF renderer that generates PDF documents from JSON specs using `@react-pdf\u002Frenderer`.\n\n## Installation\n\n```bash\nnpm install @json-render\u002Fcore @json-render\u002Freact-pdf\n```\n\n## Quick Start\n\n```typescript\nimport { renderToBuffer } from \"@json-render\u002Freact-pdf\";\nimport type { Spec } from \"@json-render\u002Fcore\";\n\nconst spec: Spec = {\n  root: \"doc\",\n  elements: {\n    doc: { type: \"Document\", props: { title: \"Invoice\" }, children: [\"page\"] },\n    page: {\n      type: \"Page\",\n      props: { size: \"A4\" },\n      children: [\"heading\", \"table\"],\n    },\n    heading: {\n      type: \"Heading\",\n      props: { text: \"Invoice #1234\", level: \"h1\" },\n      children: [],\n    },\n    table: {\n      type: \"Table\",\n      props: {\n        columns: [\n          { header: \"Item\", width: \"60%\" },\n          { header: \"Price\", width: \"40%\", align: \"right\" },\n        ],\n        rows: [\n          [\"Widget A\", \"$10.00\"],\n          [\"Widget B\", \"$25.00\"],\n        ],\n      },\n      children: [],\n    },\n  },\n};\n\nconst buffer = await renderToBuffer(spec);\n```\n\n## Render APIs\n\n```typescript\nimport { renderToBuffer, renderToStream, renderToFile } from \"@json-render\u002Freact-pdf\";\n\n\u002F\u002F In-memory buffer\nconst buffer = await renderToBuffer(spec);\n\n\u002F\u002F Readable stream (pipe to HTTP response)\nconst stream = await renderToStream(spec);\nstream.pipe(res);\n\n\u002F\u002F Direct to file\nawait renderToFile(spec, \".\u002Foutput.pdf\");\n```\n\nAll render functions accept an optional second argument: `{ registry?, state?, handlers? }`.\n\n## Standard Components\n\n| Component | Description |\n|-----------|-------------|\n| `Document` | Top-level PDF wrapper (must be root) |\n| `Page` | Page with size (A4, LETTER), orientation, margins |\n| `View` | Generic container (padding, margin, background, border) |\n| `Row`, `Column` | Flex layout with gap, align, justify |\n| `Heading` | h1-h4 heading text |\n| `Text` | Body text (fontSize, color, weight, alignment) |\n| `Image` | Image from URL or base64 |\n| `Link` | Hyperlink with text and href |\n| `Table` | Data table with typed columns and rows |\n| `List` | Ordered or unordered list |\n| `Divider` | Horizontal line separator |\n| `Spacer` | Empty vertical space |\n| `PageNumber` | Current page number and total pages |\n\n## Custom Catalog\n\n```typescript\nimport { defineCatalog } from \"@json-render\u002Fcore\";\nimport { schema, defineRegistry, renderToBuffer } from \"@json-render\u002Freact-pdf\";\nimport { standardComponentDefinitions } from \"@json-render\u002Freact-pdf\u002Fcatalog\";\nimport { z } from \"zod\";\n\nconst catalog = defineCatalog(schema, {\n  components: {\n    ...standardComponentDefinitions,\n    Badge: {\n      props: z.object({ label: z.string(), color: z.string().nullable() }),\n      slots: [],\n      description: \"A colored badge label\",\n    },\n  },\n  actions: {},\n});\n\nconst { registry } = defineRegistry(catalog, {\n  components: {\n    Badge: ({ props }) => (\n      \u003CView style={{ backgroundColor: props.color ?? \"#e5e7eb\", padding: 4 }}>\n        \u003CText>{props.label}\u003C\u002FText>\n      \u003C\u002FView>\n    ),\n  },\n});\n\nconst buffer = await renderToBuffer(spec, { registry });\n```\n\n## External Store (Controlled Mode)\n\nPass a `StateStore` for full control over state:\n\n```typescript\nimport { createStateStore } from \"@json-render\u002Freact-pdf\";\n\nconst store = createStateStore({ invoice: { total: 100 } });\nstore.set(\"\u002Finvoice\u002Ftotal\", 200);\n```\n\n## Server-Safe Import\n\nImport schema and catalog without pulling in React:\n\n```typescript\nimport { schema, standardComponentDefinitions } from \"@json-render\u002Freact-pdf\u002Fserver\";\n```\n",{"data":34,"body":35},{"name":4,"description":6},{"type":36,"children":37},"root",[38,47,62,69,108,114,1191,1197,1439,1451,1457,1709,1715,2531,2537,2550,2726,2732,2737,2792],{"type":39,"tag":40,"props":41,"children":43},"element","h1",{"id":42},"json-renderreact-pdf",[44],{"type":45,"value":46},"text","@json-render\u002Freact-pdf",{"type":39,"tag":48,"props":49,"children":50},"p",{},[51,53,60],{"type":45,"value":52},"React PDF renderer that generates PDF documents from JSON specs using ",{"type":39,"tag":54,"props":55,"children":57},"code",{"className":56},[],[58],{"type":45,"value":59},"@react-pdf\u002Frenderer",{"type":45,"value":61},".",{"type":39,"tag":63,"props":64,"children":66},"h2",{"id":65},"installation",[67],{"type":45,"value":68},"Installation",{"type":39,"tag":70,"props":71,"children":76},"pre",{"className":72,"code":73,"language":74,"meta":75,"style":75},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install @json-render\u002Fcore @json-render\u002Freact-pdf\n","bash","",[77],{"type":39,"tag":54,"props":78,"children":79},{"__ignoreMap":75},[80],{"type":39,"tag":81,"props":82,"children":85},"span",{"class":83,"line":84},"line",1,[86,92,98,103],{"type":39,"tag":81,"props":87,"children":89},{"style":88},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[90],{"type":45,"value":91},"npm",{"type":39,"tag":81,"props":93,"children":95},{"style":94},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[96],{"type":45,"value":97}," install",{"type":39,"tag":81,"props":99,"children":100},{"style":94},[101],{"type":45,"value":102}," @json-render\u002Fcore",{"type":39,"tag":81,"props":104,"children":105},{"style":94},[106],{"type":45,"value":107}," @json-render\u002Freact-pdf\n",{"type":39,"tag":63,"props":109,"children":111},{"id":110},"quick-start",[112],{"type":45,"value":113},"Quick Start",{"type":39,"tag":70,"props":115,"children":119},{"className":116,"code":117,"language":118,"meta":75,"style":75},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { renderToBuffer } from \"@json-render\u002Freact-pdf\";\nimport type { Spec } from \"@json-render\u002Fcore\";\n\nconst spec: Spec = {\n  root: \"doc\",\n  elements: {\n    doc: { type: \"Document\", props: { title: \"Invoice\" }, children: [\"page\"] },\n    page: {\n      type: \"Page\",\n      props: { size: \"A4\" },\n      children: [\"heading\", \"table\"],\n    },\n    heading: {\n      type: \"Heading\",\n      props: { text: \"Invoice #1234\", level: \"h1\" },\n      children: [],\n    },\n    table: {\n      type: \"Table\",\n      props: {\n        columns: [\n          { header: \"Item\", width: \"60%\" },\n          { header: \"Price\", width: \"40%\", align: \"right\" },\n        ],\n        rows: [\n          [\"Widget A\", \"$10.00\"],\n          [\"Widget B\", \"$25.00\"],\n        ],\n      },\n      children: [],\n    },\n  },\n};\n\nconst buffer = await renderToBuffer(spec);\n","typescript",[120],{"type":39,"tag":54,"props":121,"children":122},{"__ignoreMap":75},[123,173,220,230,264,296,313,433,450,480,524,580,589,606,635,702,723,731,748,777,793,811,872,956,969,986,1033,1079,1091,1100,1120,1128,1137,1146,1154],{"type":39,"tag":81,"props":124,"children":125},{"class":83,"line":84},[126,132,138,144,149,154,159,163,168],{"type":39,"tag":81,"props":127,"children":129},{"style":128},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[130],{"type":45,"value":131},"import",{"type":39,"tag":81,"props":133,"children":135},{"style":134},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[136],{"type":45,"value":137}," {",{"type":39,"tag":81,"props":139,"children":141},{"style":140},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[142],{"type":45,"value":143}," renderToBuffer",{"type":39,"tag":81,"props":145,"children":146},{"style":134},[147],{"type":45,"value":148}," }",{"type":39,"tag":81,"props":150,"children":151},{"style":128},[152],{"type":45,"value":153}," from",{"type":39,"tag":81,"props":155,"children":156},{"style":134},[157],{"type":45,"value":158}," \"",{"type":39,"tag":81,"props":160,"children":161},{"style":94},[162],{"type":45,"value":46},{"type":39,"tag":81,"props":164,"children":165},{"style":134},[166],{"type":45,"value":167},"\"",{"type":39,"tag":81,"props":169,"children":170},{"style":134},[171],{"type":45,"value":172},";\n",{"type":39,"tag":81,"props":174,"children":176},{"class":83,"line":175},2,[177,181,186,190,195,199,203,207,212,216],{"type":39,"tag":81,"props":178,"children":179},{"style":128},[180],{"type":45,"value":131},{"type":39,"tag":81,"props":182,"children":183},{"style":128},[184],{"type":45,"value":185}," type",{"type":39,"tag":81,"props":187,"children":188},{"style":134},[189],{"type":45,"value":137},{"type":39,"tag":81,"props":191,"children":192},{"style":140},[193],{"type":45,"value":194}," Spec",{"type":39,"tag":81,"props":196,"children":197},{"style":134},[198],{"type":45,"value":148},{"type":39,"tag":81,"props":200,"children":201},{"style":128},[202],{"type":45,"value":153},{"type":39,"tag":81,"props":204,"children":205},{"style":134},[206],{"type":45,"value":158},{"type":39,"tag":81,"props":208,"children":209},{"style":94},[210],{"type":45,"value":211},"@json-render\u002Fcore",{"type":39,"tag":81,"props":213,"children":214},{"style":134},[215],{"type":45,"value":167},{"type":39,"tag":81,"props":217,"children":218},{"style":134},[219],{"type":45,"value":172},{"type":39,"tag":81,"props":221,"children":223},{"class":83,"line":222},3,[224],{"type":39,"tag":81,"props":225,"children":227},{"emptyLinePlaceholder":226},true,[228],{"type":45,"value":229},"\n",{"type":39,"tag":81,"props":231,"children":233},{"class":83,"line":232},4,[234,240,245,250,254,259],{"type":39,"tag":81,"props":235,"children":237},{"style":236},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[238],{"type":45,"value":239},"const",{"type":39,"tag":81,"props":241,"children":242},{"style":140},[243],{"type":45,"value":244}," spec",{"type":39,"tag":81,"props":246,"children":247},{"style":134},[248],{"type":45,"value":249},":",{"type":39,"tag":81,"props":251,"children":252},{"style":88},[253],{"type":45,"value":194},{"type":39,"tag":81,"props":255,"children":256},{"style":134},[257],{"type":45,"value":258}," =",{"type":39,"tag":81,"props":260,"children":261},{"style":134},[262],{"type":45,"value":263}," {\n",{"type":39,"tag":81,"props":265,"children":267},{"class":83,"line":266},5,[268,274,278,282,287,291],{"type":39,"tag":81,"props":269,"children":271},{"style":270},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[272],{"type":45,"value":273},"  root",{"type":39,"tag":81,"props":275,"children":276},{"style":134},[277],{"type":45,"value":249},{"type":39,"tag":81,"props":279,"children":280},{"style":134},[281],{"type":45,"value":158},{"type":39,"tag":81,"props":283,"children":284},{"style":94},[285],{"type":45,"value":286},"doc",{"type":39,"tag":81,"props":288,"children":289},{"style":134},[290],{"type":45,"value":167},{"type":39,"tag":81,"props":292,"children":293},{"style":134},[294],{"type":45,"value":295},",\n",{"type":39,"tag":81,"props":297,"children":299},{"class":83,"line":298},6,[300,305,309],{"type":39,"tag":81,"props":301,"children":302},{"style":270},[303],{"type":45,"value":304},"  elements",{"type":39,"tag":81,"props":306,"children":307},{"style":134},[308],{"type":45,"value":249},{"type":39,"tag":81,"props":310,"children":311},{"style":134},[312],{"type":45,"value":263},{"type":39,"tag":81,"props":314,"children":316},{"class":83,"line":315},7,[317,322,326,330,334,338,342,347,351,356,361,365,369,374,378,382,387,391,396,401,405,410,414,419,423,428],{"type":39,"tag":81,"props":318,"children":319},{"style":270},[320],{"type":45,"value":321},"    doc",{"type":39,"tag":81,"props":323,"children":324},{"style":134},[325],{"type":45,"value":249},{"type":39,"tag":81,"props":327,"children":328},{"style":134},[329],{"type":45,"value":137},{"type":39,"tag":81,"props":331,"children":332},{"style":270},[333],{"type":45,"value":185},{"type":39,"tag":81,"props":335,"children":336},{"style":134},[337],{"type":45,"value":249},{"type":39,"tag":81,"props":339,"children":340},{"style":134},[341],{"type":45,"value":158},{"type":39,"tag":81,"props":343,"children":344},{"style":94},[345],{"type":45,"value":346},"Document",{"type":39,"tag":81,"props":348,"children":349},{"style":134},[350],{"type":45,"value":167},{"type":39,"tag":81,"props":352,"children":353},{"style":134},[354],{"type":45,"value":355},",",{"type":39,"tag":81,"props":357,"children":358},{"style":270},[359],{"type":45,"value":360}," props",{"type":39,"tag":81,"props":362,"children":363},{"style":134},[364],{"type":45,"value":249},{"type":39,"tag":81,"props":366,"children":367},{"style":134},[368],{"type":45,"value":137},{"type":39,"tag":81,"props":370,"children":371},{"style":270},[372],{"type":45,"value":373}," title",{"type":39,"tag":81,"props":375,"children":376},{"style":134},[377],{"type":45,"value":249},{"type":39,"tag":81,"props":379,"children":380},{"style":134},[381],{"type":45,"value":158},{"type":39,"tag":81,"props":383,"children":384},{"style":94},[385],{"type":45,"value":386},"Invoice",{"type":39,"tag":81,"props":388,"children":389},{"style":134},[390],{"type":45,"value":167},{"type":39,"tag":81,"props":392,"children":393},{"style":134},[394],{"type":45,"value":395}," },",{"type":39,"tag":81,"props":397,"children":398},{"style":270},[399],{"type":45,"value":400}," children",{"type":39,"tag":81,"props":402,"children":403},{"style":134},[404],{"type":45,"value":249},{"type":39,"tag":81,"props":406,"children":407},{"style":140},[408],{"type":45,"value":409}," [",{"type":39,"tag":81,"props":411,"children":412},{"style":134},[413],{"type":45,"value":167},{"type":39,"tag":81,"props":415,"children":416},{"style":94},[417],{"type":45,"value":418},"page",{"type":39,"tag":81,"props":420,"children":421},{"style":134},[422],{"type":45,"value":167},{"type":39,"tag":81,"props":424,"children":425},{"style":140},[426],{"type":45,"value":427},"] ",{"type":39,"tag":81,"props":429,"children":430},{"style":134},[431],{"type":45,"value":432},"},\n",{"type":39,"tag":81,"props":434,"children":436},{"class":83,"line":435},8,[437,442,446],{"type":39,"tag":81,"props":438,"children":439},{"style":270},[440],{"type":45,"value":441},"    page",{"type":39,"tag":81,"props":443,"children":444},{"style":134},[445],{"type":45,"value":249},{"type":39,"tag":81,"props":447,"children":448},{"style":134},[449],{"type":45,"value":263},{"type":39,"tag":81,"props":451,"children":453},{"class":83,"line":452},9,[454,459,463,467,472,476],{"type":39,"tag":81,"props":455,"children":456},{"style":270},[457],{"type":45,"value":458},"      type",{"type":39,"tag":81,"props":460,"children":461},{"style":134},[462],{"type":45,"value":249},{"type":39,"tag":81,"props":464,"children":465},{"style":134},[466],{"type":45,"value":158},{"type":39,"tag":81,"props":468,"children":469},{"style":94},[470],{"type":45,"value":471},"Page",{"type":39,"tag":81,"props":473,"children":474},{"style":134},[475],{"type":45,"value":167},{"type":39,"tag":81,"props":477,"children":478},{"style":134},[479],{"type":45,"value":295},{"type":39,"tag":81,"props":481,"children":483},{"class":83,"line":482},10,[484,489,493,497,502,506,510,515,519],{"type":39,"tag":81,"props":485,"children":486},{"style":270},[487],{"type":45,"value":488},"      props",{"type":39,"tag":81,"props":490,"children":491},{"style":134},[492],{"type":45,"value":249},{"type":39,"tag":81,"props":494,"children":495},{"style":134},[496],{"type":45,"value":137},{"type":39,"tag":81,"props":498,"children":499},{"style":270},[500],{"type":45,"value":501}," size",{"type":39,"tag":81,"props":503,"children":504},{"style":134},[505],{"type":45,"value":249},{"type":39,"tag":81,"props":507,"children":508},{"style":134},[509],{"type":45,"value":158},{"type":39,"tag":81,"props":511,"children":512},{"style":94},[513],{"type":45,"value":514},"A4",{"type":39,"tag":81,"props":516,"children":517},{"style":134},[518],{"type":45,"value":167},{"type":39,"tag":81,"props":520,"children":521},{"style":134},[522],{"type":45,"value":523}," },\n",{"type":39,"tag":81,"props":525,"children":527},{"class":83,"line":526},11,[528,533,537,541,545,550,554,558,562,567,571,576],{"type":39,"tag":81,"props":529,"children":530},{"style":270},[531],{"type":45,"value":532},"      children",{"type":39,"tag":81,"props":534,"children":535},{"style":134},[536],{"type":45,"value":249},{"type":39,"tag":81,"props":538,"children":539},{"style":140},[540],{"type":45,"value":409},{"type":39,"tag":81,"props":542,"children":543},{"style":134},[544],{"type":45,"value":167},{"type":39,"tag":81,"props":546,"children":547},{"style":94},[548],{"type":45,"value":549},"heading",{"type":39,"tag":81,"props":551,"children":552},{"style":134},[553],{"type":45,"value":167},{"type":39,"tag":81,"props":555,"children":556},{"style":134},[557],{"type":45,"value":355},{"type":39,"tag":81,"props":559,"children":560},{"style":134},[561],{"type":45,"value":158},{"type":39,"tag":81,"props":563,"children":564},{"style":94},[565],{"type":45,"value":566},"table",{"type":39,"tag":81,"props":568,"children":569},{"style":134},[570],{"type":45,"value":167},{"type":39,"tag":81,"props":572,"children":573},{"style":140},[574],{"type":45,"value":575},"]",{"type":39,"tag":81,"props":577,"children":578},{"style":134},[579],{"type":45,"value":295},{"type":39,"tag":81,"props":581,"children":583},{"class":83,"line":582},12,[584],{"type":39,"tag":81,"props":585,"children":586},{"style":134},[587],{"type":45,"value":588},"    },\n",{"type":39,"tag":81,"props":590,"children":592},{"class":83,"line":591},13,[593,598,602],{"type":39,"tag":81,"props":594,"children":595},{"style":270},[596],{"type":45,"value":597},"    heading",{"type":39,"tag":81,"props":599,"children":600},{"style":134},[601],{"type":45,"value":249},{"type":39,"tag":81,"props":603,"children":604},{"style":134},[605],{"type":45,"value":263},{"type":39,"tag":81,"props":607,"children":609},{"class":83,"line":608},14,[610,614,618,622,627,631],{"type":39,"tag":81,"props":611,"children":612},{"style":270},[613],{"type":45,"value":458},{"type":39,"tag":81,"props":615,"children":616},{"style":134},[617],{"type":45,"value":249},{"type":39,"tag":81,"props":619,"children":620},{"style":134},[621],{"type":45,"value":158},{"type":39,"tag":81,"props":623,"children":624},{"style":94},[625],{"type":45,"value":626},"Heading",{"type":39,"tag":81,"props":628,"children":629},{"style":134},[630],{"type":45,"value":167},{"type":39,"tag":81,"props":632,"children":633},{"style":134},[634],{"type":45,"value":295},{"type":39,"tag":81,"props":636,"children":638},{"class":83,"line":637},15,[639,643,647,651,656,660,664,669,673,677,682,686,690,694,698],{"type":39,"tag":81,"props":640,"children":641},{"style":270},[642],{"type":45,"value":488},{"type":39,"tag":81,"props":644,"children":645},{"style":134},[646],{"type":45,"value":249},{"type":39,"tag":81,"props":648,"children":649},{"style":134},[650],{"type":45,"value":137},{"type":39,"tag":81,"props":652,"children":653},{"style":270},[654],{"type":45,"value":655}," text",{"type":39,"tag":81,"props":657,"children":658},{"style":134},[659],{"type":45,"value":249},{"type":39,"tag":81,"props":661,"children":662},{"style":134},[663],{"type":45,"value":158},{"type":39,"tag":81,"props":665,"children":666},{"style":94},[667],{"type":45,"value":668},"Invoice #1234",{"type":39,"tag":81,"props":670,"children":671},{"style":134},[672],{"type":45,"value":167},{"type":39,"tag":81,"props":674,"children":675},{"style":134},[676],{"type":45,"value":355},{"type":39,"tag":81,"props":678,"children":679},{"style":270},[680],{"type":45,"value":681}," level",{"type":39,"tag":81,"props":683,"children":684},{"style":134},[685],{"type":45,"value":249},{"type":39,"tag":81,"props":687,"children":688},{"style":134},[689],{"type":45,"value":158},{"type":39,"tag":81,"props":691,"children":692},{"style":94},[693],{"type":45,"value":40},{"type":39,"tag":81,"props":695,"children":696},{"style":134},[697],{"type":45,"value":167},{"type":39,"tag":81,"props":699,"children":700},{"style":134},[701],{"type":45,"value":523},{"type":39,"tag":81,"props":703,"children":705},{"class":83,"line":704},16,[706,710,714,719],{"type":39,"tag":81,"props":707,"children":708},{"style":270},[709],{"type":45,"value":532},{"type":39,"tag":81,"props":711,"children":712},{"style":134},[713],{"type":45,"value":249},{"type":39,"tag":81,"props":715,"children":716},{"style":140},[717],{"type":45,"value":718}," []",{"type":39,"tag":81,"props":720,"children":721},{"style":134},[722],{"type":45,"value":295},{"type":39,"tag":81,"props":724,"children":726},{"class":83,"line":725},17,[727],{"type":39,"tag":81,"props":728,"children":729},{"style":134},[730],{"type":45,"value":588},{"type":39,"tag":81,"props":732,"children":734},{"class":83,"line":733},18,[735,740,744],{"type":39,"tag":81,"props":736,"children":737},{"style":270},[738],{"type":45,"value":739},"    table",{"type":39,"tag":81,"props":741,"children":742},{"style":134},[743],{"type":45,"value":249},{"type":39,"tag":81,"props":745,"children":746},{"style":134},[747],{"type":45,"value":263},{"type":39,"tag":81,"props":749,"children":751},{"class":83,"line":750},19,[752,756,760,764,769,773],{"type":39,"tag":81,"props":753,"children":754},{"style":270},[755],{"type":45,"value":458},{"type":39,"tag":81,"props":757,"children":758},{"style":134},[759],{"type":45,"value":249},{"type":39,"tag":81,"props":761,"children":762},{"style":134},[763],{"type":45,"value":158},{"type":39,"tag":81,"props":765,"children":766},{"style":94},[767],{"type":45,"value":768},"Table",{"type":39,"tag":81,"props":770,"children":771},{"style":134},[772],{"type":45,"value":167},{"type":39,"tag":81,"props":774,"children":775},{"style":134},[776],{"type":45,"value":295},{"type":39,"tag":81,"props":778,"children":780},{"class":83,"line":779},20,[781,785,789],{"type":39,"tag":81,"props":782,"children":783},{"style":270},[784],{"type":45,"value":488},{"type":39,"tag":81,"props":786,"children":787},{"style":134},[788],{"type":45,"value":249},{"type":39,"tag":81,"props":790,"children":791},{"style":134},[792],{"type":45,"value":263},{"type":39,"tag":81,"props":794,"children":796},{"class":83,"line":795},21,[797,802,806],{"type":39,"tag":81,"props":798,"children":799},{"style":270},[800],{"type":45,"value":801},"        columns",{"type":39,"tag":81,"props":803,"children":804},{"style":134},[805],{"type":45,"value":249},{"type":39,"tag":81,"props":807,"children":808},{"style":140},[809],{"type":45,"value":810}," [\n",{"type":39,"tag":81,"props":812,"children":814},{"class":83,"line":813},22,[815,820,825,829,833,838,842,846,851,855,859,864,868],{"type":39,"tag":81,"props":816,"children":817},{"style":134},[818],{"type":45,"value":819},"          {",{"type":39,"tag":81,"props":821,"children":822},{"style":270},[823],{"type":45,"value":824}," header",{"type":39,"tag":81,"props":826,"children":827},{"style":134},[828],{"type":45,"value":249},{"type":39,"tag":81,"props":830,"children":831},{"style":134},[832],{"type":45,"value":158},{"type":39,"tag":81,"props":834,"children":835},{"style":94},[836],{"type":45,"value":837},"Item",{"type":39,"tag":81,"props":839,"children":840},{"style":134},[841],{"type":45,"value":167},{"type":39,"tag":81,"props":843,"children":844},{"style":134},[845],{"type":45,"value":355},{"type":39,"tag":81,"props":847,"children":848},{"style":270},[849],{"type":45,"value":850}," width",{"type":39,"tag":81,"props":852,"children":853},{"style":134},[854],{"type":45,"value":249},{"type":39,"tag":81,"props":856,"children":857},{"style":134},[858],{"type":45,"value":158},{"type":39,"tag":81,"props":860,"children":861},{"style":94},[862],{"type":45,"value":863},"60%",{"type":39,"tag":81,"props":865,"children":866},{"style":134},[867],{"type":45,"value":167},{"type":39,"tag":81,"props":869,"children":870},{"style":134},[871],{"type":45,"value":523},{"type":39,"tag":81,"props":873,"children":875},{"class":83,"line":874},23,[876,880,884,888,892,897,901,905,909,913,917,922,926,930,935,939,943,948,952],{"type":39,"tag":81,"props":877,"children":878},{"style":134},[879],{"type":45,"value":819},{"type":39,"tag":81,"props":881,"children":882},{"style":270},[883],{"type":45,"value":824},{"type":39,"tag":81,"props":885,"children":886},{"style":134},[887],{"type":45,"value":249},{"type":39,"tag":81,"props":889,"children":890},{"style":134},[891],{"type":45,"value":158},{"type":39,"tag":81,"props":893,"children":894},{"style":94},[895],{"type":45,"value":896},"Price",{"type":39,"tag":81,"props":898,"children":899},{"style":134},[900],{"type":45,"value":167},{"type":39,"tag":81,"props":902,"children":903},{"style":134},[904],{"type":45,"value":355},{"type":39,"tag":81,"props":906,"children":907},{"style":270},[908],{"type":45,"value":850},{"type":39,"tag":81,"props":910,"children":911},{"style":134},[912],{"type":45,"value":249},{"type":39,"tag":81,"props":914,"children":915},{"style":134},[916],{"type":45,"value":158},{"type":39,"tag":81,"props":918,"children":919},{"style":94},[920],{"type":45,"value":921},"40%",{"type":39,"tag":81,"props":923,"children":924},{"style":134},[925],{"type":45,"value":167},{"type":39,"tag":81,"props":927,"children":928},{"style":134},[929],{"type":45,"value":355},{"type":39,"tag":81,"props":931,"children":932},{"style":270},[933],{"type":45,"value":934}," align",{"type":39,"tag":81,"props":936,"children":937},{"style":134},[938],{"type":45,"value":249},{"type":39,"tag":81,"props":940,"children":941},{"style":134},[942],{"type":45,"value":158},{"type":39,"tag":81,"props":944,"children":945},{"style":94},[946],{"type":45,"value":947},"right",{"type":39,"tag":81,"props":949,"children":950},{"style":134},[951],{"type":45,"value":167},{"type":39,"tag":81,"props":953,"children":954},{"style":134},[955],{"type":45,"value":523},{"type":39,"tag":81,"props":957,"children":959},{"class":83,"line":958},24,[960,965],{"type":39,"tag":81,"props":961,"children":962},{"style":140},[963],{"type":45,"value":964},"        ]",{"type":39,"tag":81,"props":966,"children":967},{"style":134},[968],{"type":45,"value":295},{"type":39,"tag":81,"props":970,"children":972},{"class":83,"line":971},25,[973,978,982],{"type":39,"tag":81,"props":974,"children":975},{"style":270},[976],{"type":45,"value":977},"        rows",{"type":39,"tag":81,"props":979,"children":980},{"style":134},[981],{"type":45,"value":249},{"type":39,"tag":81,"props":983,"children":984},{"style":140},[985],{"type":45,"value":810},{"type":39,"tag":81,"props":987,"children":989},{"class":83,"line":988},26,[990,995,999,1004,1008,1012,1016,1021,1025,1029],{"type":39,"tag":81,"props":991,"children":992},{"style":140},[993],{"type":45,"value":994},"          [",{"type":39,"tag":81,"props":996,"children":997},{"style":134},[998],{"type":45,"value":167},{"type":39,"tag":81,"props":1000,"children":1001},{"style":94},[1002],{"type":45,"value":1003},"Widget A",{"type":39,"tag":81,"props":1005,"children":1006},{"style":134},[1007],{"type":45,"value":167},{"type":39,"tag":81,"props":1009,"children":1010},{"style":134},[1011],{"type":45,"value":355},{"type":39,"tag":81,"props":1013,"children":1014},{"style":134},[1015],{"type":45,"value":158},{"type":39,"tag":81,"props":1017,"children":1018},{"style":94},[1019],{"type":45,"value":1020},"$10.00",{"type":39,"tag":81,"props":1022,"children":1023},{"style":134},[1024],{"type":45,"value":167},{"type":39,"tag":81,"props":1026,"children":1027},{"style":140},[1028],{"type":45,"value":575},{"type":39,"tag":81,"props":1030,"children":1031},{"style":134},[1032],{"type":45,"value":295},{"type":39,"tag":81,"props":1034,"children":1036},{"class":83,"line":1035},27,[1037,1041,1045,1050,1054,1058,1062,1067,1071,1075],{"type":39,"tag":81,"props":1038,"children":1039},{"style":140},[1040],{"type":45,"value":994},{"type":39,"tag":81,"props":1042,"children":1043},{"style":134},[1044],{"type":45,"value":167},{"type":39,"tag":81,"props":1046,"children":1047},{"style":94},[1048],{"type":45,"value":1049},"Widget B",{"type":39,"tag":81,"props":1051,"children":1052},{"style":134},[1053],{"type":45,"value":167},{"type":39,"tag":81,"props":1055,"children":1056},{"style":134},[1057],{"type":45,"value":355},{"type":39,"tag":81,"props":1059,"children":1060},{"style":134},[1061],{"type":45,"value":158},{"type":39,"tag":81,"props":1063,"children":1064},{"style":94},[1065],{"type":45,"value":1066},"$25.00",{"type":39,"tag":81,"props":1068,"children":1069},{"style":134},[1070],{"type":45,"value":167},{"type":39,"tag":81,"props":1072,"children":1073},{"style":140},[1074],{"type":45,"value":575},{"type":39,"tag":81,"props":1076,"children":1077},{"style":134},[1078],{"type":45,"value":295},{"type":39,"tag":81,"props":1080,"children":1082},{"class":83,"line":1081},28,[1083,1087],{"type":39,"tag":81,"props":1084,"children":1085},{"style":140},[1086],{"type":45,"value":964},{"type":39,"tag":81,"props":1088,"children":1089},{"style":134},[1090],{"type":45,"value":295},{"type":39,"tag":81,"props":1092,"children":1094},{"class":83,"line":1093},29,[1095],{"type":39,"tag":81,"props":1096,"children":1097},{"style":134},[1098],{"type":45,"value":1099},"      },\n",{"type":39,"tag":81,"props":1101,"children":1103},{"class":83,"line":1102},30,[1104,1108,1112,1116],{"type":39,"tag":81,"props":1105,"children":1106},{"style":270},[1107],{"type":45,"value":532},{"type":39,"tag":81,"props":1109,"children":1110},{"style":134},[1111],{"type":45,"value":249},{"type":39,"tag":81,"props":1113,"children":1114},{"style":140},[1115],{"type":45,"value":718},{"type":39,"tag":81,"props":1117,"children":1118},{"style":134},[1119],{"type":45,"value":295},{"type":39,"tag":81,"props":1121,"children":1123},{"class":83,"line":1122},31,[1124],{"type":39,"tag":81,"props":1125,"children":1126},{"style":134},[1127],{"type":45,"value":588},{"type":39,"tag":81,"props":1129,"children":1131},{"class":83,"line":1130},32,[1132],{"type":39,"tag":81,"props":1133,"children":1134},{"style":134},[1135],{"type":45,"value":1136},"  },\n",{"type":39,"tag":81,"props":1138,"children":1140},{"class":83,"line":1139},33,[1141],{"type":39,"tag":81,"props":1142,"children":1143},{"style":134},[1144],{"type":45,"value":1145},"};\n",{"type":39,"tag":81,"props":1147,"children":1149},{"class":83,"line":1148},34,[1150],{"type":39,"tag":81,"props":1151,"children":1152},{"emptyLinePlaceholder":226},[1153],{"type":45,"value":229},{"type":39,"tag":81,"props":1155,"children":1157},{"class":83,"line":1156},35,[1158,1162,1167,1172,1177,1182,1187],{"type":39,"tag":81,"props":1159,"children":1160},{"style":236},[1161],{"type":45,"value":239},{"type":39,"tag":81,"props":1163,"children":1164},{"style":140},[1165],{"type":45,"value":1166}," buffer ",{"type":39,"tag":81,"props":1168,"children":1169},{"style":134},[1170],{"type":45,"value":1171},"=",{"type":39,"tag":81,"props":1173,"children":1174},{"style":128},[1175],{"type":45,"value":1176}," await",{"type":39,"tag":81,"props":1178,"children":1180},{"style":1179},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1181],{"type":45,"value":143},{"type":39,"tag":81,"props":1183,"children":1184},{"style":140},[1185],{"type":45,"value":1186},"(spec)",{"type":39,"tag":81,"props":1188,"children":1189},{"style":134},[1190],{"type":45,"value":172},{"type":39,"tag":63,"props":1192,"children":1194},{"id":1193},"render-apis",[1195],{"type":45,"value":1196},"Render APIs",{"type":39,"tag":70,"props":1198,"children":1200},{"className":116,"code":1199,"language":118,"meta":75,"style":75},"import { renderToBuffer, renderToStream, renderToFile } from \"@json-render\u002Freact-pdf\";\n\n\u002F\u002F In-memory buffer\nconst buffer = await renderToBuffer(spec);\n\n\u002F\u002F Readable stream (pipe to HTTP response)\nconst stream = await renderToStream(spec);\nstream.pipe(res);\n\n\u002F\u002F Direct to file\nawait renderToFile(spec, \".\u002Foutput.pdf\");\n",[1201],{"type":39,"tag":54,"props":1202,"children":1203},{"__ignoreMap":75},[1204,1261,1268,1277,1308,1315,1323,1355,1381,1388,1396],{"type":39,"tag":81,"props":1205,"children":1206},{"class":83,"line":84},[1207,1211,1215,1219,1223,1228,1232,1237,1241,1245,1249,1253,1257],{"type":39,"tag":81,"props":1208,"children":1209},{"style":128},[1210],{"type":45,"value":131},{"type":39,"tag":81,"props":1212,"children":1213},{"style":134},[1214],{"type":45,"value":137},{"type":39,"tag":81,"props":1216,"children":1217},{"style":140},[1218],{"type":45,"value":143},{"type":39,"tag":81,"props":1220,"children":1221},{"style":134},[1222],{"type":45,"value":355},{"type":39,"tag":81,"props":1224,"children":1225},{"style":140},[1226],{"type":45,"value":1227}," renderToStream",{"type":39,"tag":81,"props":1229,"children":1230},{"style":134},[1231],{"type":45,"value":355},{"type":39,"tag":81,"props":1233,"children":1234},{"style":140},[1235],{"type":45,"value":1236}," renderToFile",{"type":39,"tag":81,"props":1238,"children":1239},{"style":134},[1240],{"type":45,"value":148},{"type":39,"tag":81,"props":1242,"children":1243},{"style":128},[1244],{"type":45,"value":153},{"type":39,"tag":81,"props":1246,"children":1247},{"style":134},[1248],{"type":45,"value":158},{"type":39,"tag":81,"props":1250,"children":1251},{"style":94},[1252],{"type":45,"value":46},{"type":39,"tag":81,"props":1254,"children":1255},{"style":134},[1256],{"type":45,"value":167},{"type":39,"tag":81,"props":1258,"children":1259},{"style":134},[1260],{"type":45,"value":172},{"type":39,"tag":81,"props":1262,"children":1263},{"class":83,"line":175},[1264],{"type":39,"tag":81,"props":1265,"children":1266},{"emptyLinePlaceholder":226},[1267],{"type":45,"value":229},{"type":39,"tag":81,"props":1269,"children":1270},{"class":83,"line":222},[1271],{"type":39,"tag":81,"props":1272,"children":1274},{"style":1273},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1275],{"type":45,"value":1276},"\u002F\u002F In-memory buffer\n",{"type":39,"tag":81,"props":1278,"children":1279},{"class":83,"line":232},[1280,1284,1288,1292,1296,1300,1304],{"type":39,"tag":81,"props":1281,"children":1282},{"style":236},[1283],{"type":45,"value":239},{"type":39,"tag":81,"props":1285,"children":1286},{"style":140},[1287],{"type":45,"value":1166},{"type":39,"tag":81,"props":1289,"children":1290},{"style":134},[1291],{"type":45,"value":1171},{"type":39,"tag":81,"props":1293,"children":1294},{"style":128},[1295],{"type":45,"value":1176},{"type":39,"tag":81,"props":1297,"children":1298},{"style":1179},[1299],{"type":45,"value":143},{"type":39,"tag":81,"props":1301,"children":1302},{"style":140},[1303],{"type":45,"value":1186},{"type":39,"tag":81,"props":1305,"children":1306},{"style":134},[1307],{"type":45,"value":172},{"type":39,"tag":81,"props":1309,"children":1310},{"class":83,"line":266},[1311],{"type":39,"tag":81,"props":1312,"children":1313},{"emptyLinePlaceholder":226},[1314],{"type":45,"value":229},{"type":39,"tag":81,"props":1316,"children":1317},{"class":83,"line":298},[1318],{"type":39,"tag":81,"props":1319,"children":1320},{"style":1273},[1321],{"type":45,"value":1322},"\u002F\u002F Readable stream (pipe to HTTP response)\n",{"type":39,"tag":81,"props":1324,"children":1325},{"class":83,"line":315},[1326,1330,1335,1339,1343,1347,1351],{"type":39,"tag":81,"props":1327,"children":1328},{"style":236},[1329],{"type":45,"value":239},{"type":39,"tag":81,"props":1331,"children":1332},{"style":140},[1333],{"type":45,"value":1334}," stream ",{"type":39,"tag":81,"props":1336,"children":1337},{"style":134},[1338],{"type":45,"value":1171},{"type":39,"tag":81,"props":1340,"children":1341},{"style":128},[1342],{"type":45,"value":1176},{"type":39,"tag":81,"props":1344,"children":1345},{"style":1179},[1346],{"type":45,"value":1227},{"type":39,"tag":81,"props":1348,"children":1349},{"style":140},[1350],{"type":45,"value":1186},{"type":39,"tag":81,"props":1352,"children":1353},{"style":134},[1354],{"type":45,"value":172},{"type":39,"tag":81,"props":1356,"children":1357},{"class":83,"line":435},[1358,1363,1367,1372,1377],{"type":39,"tag":81,"props":1359,"children":1360},{"style":140},[1361],{"type":45,"value":1362},"stream",{"type":39,"tag":81,"props":1364,"children":1365},{"style":134},[1366],{"type":45,"value":61},{"type":39,"tag":81,"props":1368,"children":1369},{"style":1179},[1370],{"type":45,"value":1371},"pipe",{"type":39,"tag":81,"props":1373,"children":1374},{"style":140},[1375],{"type":45,"value":1376},"(res)",{"type":39,"tag":81,"props":1378,"children":1379},{"style":134},[1380],{"type":45,"value":172},{"type":39,"tag":81,"props":1382,"children":1383},{"class":83,"line":452},[1384],{"type":39,"tag":81,"props":1385,"children":1386},{"emptyLinePlaceholder":226},[1387],{"type":45,"value":229},{"type":39,"tag":81,"props":1389,"children":1390},{"class":83,"line":482},[1391],{"type":39,"tag":81,"props":1392,"children":1393},{"style":1273},[1394],{"type":45,"value":1395},"\u002F\u002F Direct to file\n",{"type":39,"tag":81,"props":1397,"children":1398},{"class":83,"line":526},[1399,1404,1408,1413,1417,1421,1426,1430,1435],{"type":39,"tag":81,"props":1400,"children":1401},{"style":128},[1402],{"type":45,"value":1403},"await",{"type":39,"tag":81,"props":1405,"children":1406},{"style":1179},[1407],{"type":45,"value":1236},{"type":39,"tag":81,"props":1409,"children":1410},{"style":140},[1411],{"type":45,"value":1412},"(spec",{"type":39,"tag":81,"props":1414,"children":1415},{"style":134},[1416],{"type":45,"value":355},{"type":39,"tag":81,"props":1418,"children":1419},{"style":134},[1420],{"type":45,"value":158},{"type":39,"tag":81,"props":1422,"children":1423},{"style":94},[1424],{"type":45,"value":1425},".\u002Foutput.pdf",{"type":39,"tag":81,"props":1427,"children":1428},{"style":134},[1429],{"type":45,"value":167},{"type":39,"tag":81,"props":1431,"children":1432},{"style":140},[1433],{"type":45,"value":1434},")",{"type":39,"tag":81,"props":1436,"children":1437},{"style":134},[1438],{"type":45,"value":172},{"type":39,"tag":48,"props":1440,"children":1441},{},[1442,1444,1450],{"type":45,"value":1443},"All render functions accept an optional second argument: ",{"type":39,"tag":54,"props":1445,"children":1447},{"className":1446},[],[1448],{"type":45,"value":1449},"{ registry?, state?, handlers? }",{"type":45,"value":61},{"type":39,"tag":63,"props":1452,"children":1454},{"id":1453},"standard-components",[1455],{"type":45,"value":1456},"Standard Components",{"type":39,"tag":566,"props":1458,"children":1459},{},[1460,1479],{"type":39,"tag":1461,"props":1462,"children":1463},"thead",{},[1464],{"type":39,"tag":1465,"props":1466,"children":1467},"tr",{},[1468,1474],{"type":39,"tag":1469,"props":1470,"children":1471},"th",{},[1472],{"type":45,"value":1473},"Component",{"type":39,"tag":1469,"props":1475,"children":1476},{},[1477],{"type":45,"value":1478},"Description",{"type":39,"tag":1480,"props":1481,"children":1482},"tbody",{},[1483,1500,1516,1533,1558,1574,1591,1608,1625,1641,1658,1675,1692],{"type":39,"tag":1465,"props":1484,"children":1485},{},[1486,1495],{"type":39,"tag":1487,"props":1488,"children":1489},"td",{},[1490],{"type":39,"tag":54,"props":1491,"children":1493},{"className":1492},[],[1494],{"type":45,"value":346},{"type":39,"tag":1487,"props":1496,"children":1497},{},[1498],{"type":45,"value":1499},"Top-level PDF wrapper (must be root)",{"type":39,"tag":1465,"props":1501,"children":1502},{},[1503,1511],{"type":39,"tag":1487,"props":1504,"children":1505},{},[1506],{"type":39,"tag":54,"props":1507,"children":1509},{"className":1508},[],[1510],{"type":45,"value":471},{"type":39,"tag":1487,"props":1512,"children":1513},{},[1514],{"type":45,"value":1515},"Page with size (A4, LETTER), orientation, margins",{"type":39,"tag":1465,"props":1517,"children":1518},{},[1519,1528],{"type":39,"tag":1487,"props":1520,"children":1521},{},[1522],{"type":39,"tag":54,"props":1523,"children":1525},{"className":1524},[],[1526],{"type":45,"value":1527},"View",{"type":39,"tag":1487,"props":1529,"children":1530},{},[1531],{"type":45,"value":1532},"Generic container (padding, margin, background, border)",{"type":39,"tag":1465,"props":1534,"children":1535},{},[1536,1553],{"type":39,"tag":1487,"props":1537,"children":1538},{},[1539,1545,1547],{"type":39,"tag":54,"props":1540,"children":1542},{"className":1541},[],[1543],{"type":45,"value":1544},"Row",{"type":45,"value":1546},", ",{"type":39,"tag":54,"props":1548,"children":1550},{"className":1549},[],[1551],{"type":45,"value":1552},"Column",{"type":39,"tag":1487,"props":1554,"children":1555},{},[1556],{"type":45,"value":1557},"Flex layout with gap, align, justify",{"type":39,"tag":1465,"props":1559,"children":1560},{},[1561,1569],{"type":39,"tag":1487,"props":1562,"children":1563},{},[1564],{"type":39,"tag":54,"props":1565,"children":1567},{"className":1566},[],[1568],{"type":45,"value":626},{"type":39,"tag":1487,"props":1570,"children":1571},{},[1572],{"type":45,"value":1573},"h1-h4 heading text",{"type":39,"tag":1465,"props":1575,"children":1576},{},[1577,1586],{"type":39,"tag":1487,"props":1578,"children":1579},{},[1580],{"type":39,"tag":54,"props":1581,"children":1583},{"className":1582},[],[1584],{"type":45,"value":1585},"Text",{"type":39,"tag":1487,"props":1587,"children":1588},{},[1589],{"type":45,"value":1590},"Body text (fontSize, color, weight, alignment)",{"type":39,"tag":1465,"props":1592,"children":1593},{},[1594,1603],{"type":39,"tag":1487,"props":1595,"children":1596},{},[1597],{"type":39,"tag":54,"props":1598,"children":1600},{"className":1599},[],[1601],{"type":45,"value":1602},"Image",{"type":39,"tag":1487,"props":1604,"children":1605},{},[1606],{"type":45,"value":1607},"Image from URL or base64",{"type":39,"tag":1465,"props":1609,"children":1610},{},[1611,1620],{"type":39,"tag":1487,"props":1612,"children":1613},{},[1614],{"type":39,"tag":54,"props":1615,"children":1617},{"className":1616},[],[1618],{"type":45,"value":1619},"Link",{"type":39,"tag":1487,"props":1621,"children":1622},{},[1623],{"type":45,"value":1624},"Hyperlink with text and href",{"type":39,"tag":1465,"props":1626,"children":1627},{},[1628,1636],{"type":39,"tag":1487,"props":1629,"children":1630},{},[1631],{"type":39,"tag":54,"props":1632,"children":1634},{"className":1633},[],[1635],{"type":45,"value":768},{"type":39,"tag":1487,"props":1637,"children":1638},{},[1639],{"type":45,"value":1640},"Data table with typed columns and rows",{"type":39,"tag":1465,"props":1642,"children":1643},{},[1644,1653],{"type":39,"tag":1487,"props":1645,"children":1646},{},[1647],{"type":39,"tag":54,"props":1648,"children":1650},{"className":1649},[],[1651],{"type":45,"value":1652},"List",{"type":39,"tag":1487,"props":1654,"children":1655},{},[1656],{"type":45,"value":1657},"Ordered or unordered list",{"type":39,"tag":1465,"props":1659,"children":1660},{},[1661,1670],{"type":39,"tag":1487,"props":1662,"children":1663},{},[1664],{"type":39,"tag":54,"props":1665,"children":1667},{"className":1666},[],[1668],{"type":45,"value":1669},"Divider",{"type":39,"tag":1487,"props":1671,"children":1672},{},[1673],{"type":45,"value":1674},"Horizontal line separator",{"type":39,"tag":1465,"props":1676,"children":1677},{},[1678,1687],{"type":39,"tag":1487,"props":1679,"children":1680},{},[1681],{"type":39,"tag":54,"props":1682,"children":1684},{"className":1683},[],[1685],{"type":45,"value":1686},"Spacer",{"type":39,"tag":1487,"props":1688,"children":1689},{},[1690],{"type":45,"value":1691},"Empty vertical space",{"type":39,"tag":1465,"props":1693,"children":1694},{},[1695,1704],{"type":39,"tag":1487,"props":1696,"children":1697},{},[1698],{"type":39,"tag":54,"props":1699,"children":1701},{"className":1700},[],[1702],{"type":45,"value":1703},"PageNumber",{"type":39,"tag":1487,"props":1705,"children":1706},{},[1707],{"type":45,"value":1708},"Current page number and total pages",{"type":39,"tag":63,"props":1710,"children":1712},{"id":1711},"custom-catalog",[1713],{"type":45,"value":1714},"Custom Catalog",{"type":39,"tag":70,"props":1716,"children":1718},{"className":116,"code":1717,"language":118,"meta":75,"style":75},"import { defineCatalog } from \"@json-render\u002Fcore\";\nimport { schema, defineRegistry, renderToBuffer } from \"@json-render\u002Freact-pdf\";\nimport { standardComponentDefinitions } from \"@json-render\u002Freact-pdf\u002Fcatalog\";\nimport { z } from \"zod\";\n\nconst catalog = defineCatalog(schema, {\n  components: {\n    ...standardComponentDefinitions,\n    Badge: {\n      props: z.object({ label: z.string(), color: z.string().nullable() }),\n      slots: [],\n      description: \"A colored badge label\",\n    },\n  },\n  actions: {},\n});\n\nconst { registry } = defineRegistry(catalog, {\n  components: {\n    Badge: ({ props }) => (\n      \u003CView style={{ backgroundColor: props.color ?? \"#e5e7eb\", padding: 4 }}>\n        \u003CText>{props.label}\u003C\u002FText>\n      \u003C\u002FView>\n    ),\n  },\n});\n\nconst buffer = await renderToBuffer(spec, { registry });\n",[1719],{"type":39,"tag":54,"props":1720,"children":1721},{"__ignoreMap":75},[1722,1762,1819,1860,1901,1908,1941,1957,1974,1990,2107,2127,2156,2163,2170,2187,2202,2209,2250,2265,2301,2383,2423,2439,2451,2458,2473,2480],{"type":39,"tag":81,"props":1723,"children":1724},{"class":83,"line":84},[1725,1729,1733,1738,1742,1746,1750,1754,1758],{"type":39,"tag":81,"props":1726,"children":1727},{"style":128},[1728],{"type":45,"value":131},{"type":39,"tag":81,"props":1730,"children":1731},{"style":134},[1732],{"type":45,"value":137},{"type":39,"tag":81,"props":1734,"children":1735},{"style":140},[1736],{"type":45,"value":1737}," defineCatalog",{"type":39,"tag":81,"props":1739,"children":1740},{"style":134},[1741],{"type":45,"value":148},{"type":39,"tag":81,"props":1743,"children":1744},{"style":128},[1745],{"type":45,"value":153},{"type":39,"tag":81,"props":1747,"children":1748},{"style":134},[1749],{"type":45,"value":158},{"type":39,"tag":81,"props":1751,"children":1752},{"style":94},[1753],{"type":45,"value":211},{"type":39,"tag":81,"props":1755,"children":1756},{"style":134},[1757],{"type":45,"value":167},{"type":39,"tag":81,"props":1759,"children":1760},{"style":134},[1761],{"type":45,"value":172},{"type":39,"tag":81,"props":1763,"children":1764},{"class":83,"line":175},[1765,1769,1773,1778,1782,1787,1791,1795,1799,1803,1807,1811,1815],{"type":39,"tag":81,"props":1766,"children":1767},{"style":128},[1768],{"type":45,"value":131},{"type":39,"tag":81,"props":1770,"children":1771},{"style":134},[1772],{"type":45,"value":137},{"type":39,"tag":81,"props":1774,"children":1775},{"style":140},[1776],{"type":45,"value":1777}," schema",{"type":39,"tag":81,"props":1779,"children":1780},{"style":134},[1781],{"type":45,"value":355},{"type":39,"tag":81,"props":1783,"children":1784},{"style":140},[1785],{"type":45,"value":1786}," defineRegistry",{"type":39,"tag":81,"props":1788,"children":1789},{"style":134},[1790],{"type":45,"value":355},{"type":39,"tag":81,"props":1792,"children":1793},{"style":140},[1794],{"type":45,"value":143},{"type":39,"tag":81,"props":1796,"children":1797},{"style":134},[1798],{"type":45,"value":148},{"type":39,"tag":81,"props":1800,"children":1801},{"style":128},[1802],{"type":45,"value":153},{"type":39,"tag":81,"props":1804,"children":1805},{"style":134},[1806],{"type":45,"value":158},{"type":39,"tag":81,"props":1808,"children":1809},{"style":94},[1810],{"type":45,"value":46},{"type":39,"tag":81,"props":1812,"children":1813},{"style":134},[1814],{"type":45,"value":167},{"type":39,"tag":81,"props":1816,"children":1817},{"style":134},[1818],{"type":45,"value":172},{"type":39,"tag":81,"props":1820,"children":1821},{"class":83,"line":222},[1822,1826,1830,1835,1839,1843,1847,1852,1856],{"type":39,"tag":81,"props":1823,"children":1824},{"style":128},[1825],{"type":45,"value":131},{"type":39,"tag":81,"props":1827,"children":1828},{"style":134},[1829],{"type":45,"value":137},{"type":39,"tag":81,"props":1831,"children":1832},{"style":140},[1833],{"type":45,"value":1834}," standardComponentDefinitions",{"type":39,"tag":81,"props":1836,"children":1837},{"style":134},[1838],{"type":45,"value":148},{"type":39,"tag":81,"props":1840,"children":1841},{"style":128},[1842],{"type":45,"value":153},{"type":39,"tag":81,"props":1844,"children":1845},{"style":134},[1846],{"type":45,"value":158},{"type":39,"tag":81,"props":1848,"children":1849},{"style":94},[1850],{"type":45,"value":1851},"@json-render\u002Freact-pdf\u002Fcatalog",{"type":39,"tag":81,"props":1853,"children":1854},{"style":134},[1855],{"type":45,"value":167},{"type":39,"tag":81,"props":1857,"children":1858},{"style":134},[1859],{"type":45,"value":172},{"type":39,"tag":81,"props":1861,"children":1862},{"class":83,"line":232},[1863,1867,1871,1876,1880,1884,1888,1893,1897],{"type":39,"tag":81,"props":1864,"children":1865},{"style":128},[1866],{"type":45,"value":131},{"type":39,"tag":81,"props":1868,"children":1869},{"style":134},[1870],{"type":45,"value":137},{"type":39,"tag":81,"props":1872,"children":1873},{"style":140},[1874],{"type":45,"value":1875}," z",{"type":39,"tag":81,"props":1877,"children":1878},{"style":134},[1879],{"type":45,"value":148},{"type":39,"tag":81,"props":1881,"children":1882},{"style":128},[1883],{"type":45,"value":153},{"type":39,"tag":81,"props":1885,"children":1886},{"style":134},[1887],{"type":45,"value":158},{"type":39,"tag":81,"props":1889,"children":1890},{"style":94},[1891],{"type":45,"value":1892},"zod",{"type":39,"tag":81,"props":1894,"children":1895},{"style":134},[1896],{"type":45,"value":167},{"type":39,"tag":81,"props":1898,"children":1899},{"style":134},[1900],{"type":45,"value":172},{"type":39,"tag":81,"props":1902,"children":1903},{"class":83,"line":266},[1904],{"type":39,"tag":81,"props":1905,"children":1906},{"emptyLinePlaceholder":226},[1907],{"type":45,"value":229},{"type":39,"tag":81,"props":1909,"children":1910},{"class":83,"line":298},[1911,1915,1920,1924,1928,1933,1937],{"type":39,"tag":81,"props":1912,"children":1913},{"style":236},[1914],{"type":45,"value":239},{"type":39,"tag":81,"props":1916,"children":1917},{"style":140},[1918],{"type":45,"value":1919}," catalog ",{"type":39,"tag":81,"props":1921,"children":1922},{"style":134},[1923],{"type":45,"value":1171},{"type":39,"tag":81,"props":1925,"children":1926},{"style":1179},[1927],{"type":45,"value":1737},{"type":39,"tag":81,"props":1929,"children":1930},{"style":140},[1931],{"type":45,"value":1932},"(schema",{"type":39,"tag":81,"props":1934,"children":1935},{"style":134},[1936],{"type":45,"value":355},{"type":39,"tag":81,"props":1938,"children":1939},{"style":134},[1940],{"type":45,"value":263},{"type":39,"tag":81,"props":1942,"children":1943},{"class":83,"line":315},[1944,1949,1953],{"type":39,"tag":81,"props":1945,"children":1946},{"style":270},[1947],{"type":45,"value":1948},"  components",{"type":39,"tag":81,"props":1950,"children":1951},{"style":134},[1952],{"type":45,"value":249},{"type":39,"tag":81,"props":1954,"children":1955},{"style":134},[1956],{"type":45,"value":263},{"type":39,"tag":81,"props":1958,"children":1959},{"class":83,"line":435},[1960,1965,1970],{"type":39,"tag":81,"props":1961,"children":1962},{"style":134},[1963],{"type":45,"value":1964},"    ...",{"type":39,"tag":81,"props":1966,"children":1967},{"style":140},[1968],{"type":45,"value":1969},"standardComponentDefinitions",{"type":39,"tag":81,"props":1971,"children":1972},{"style":134},[1973],{"type":45,"value":295},{"type":39,"tag":81,"props":1975,"children":1976},{"class":83,"line":452},[1977,1982,1986],{"type":39,"tag":81,"props":1978,"children":1979},{"style":270},[1980],{"type":45,"value":1981},"    Badge",{"type":39,"tag":81,"props":1983,"children":1984},{"style":134},[1985],{"type":45,"value":249},{"type":39,"tag":81,"props":1987,"children":1988},{"style":134},[1989],{"type":45,"value":263},{"type":39,"tag":81,"props":1991,"children":1992},{"class":83,"line":482},[1993,1997,2001,2005,2009,2014,2019,2024,2029,2033,2037,2041,2046,2051,2055,2060,2064,2068,2072,2076,2080,2084,2089,2094,2099,2103],{"type":39,"tag":81,"props":1994,"children":1995},{"style":270},[1996],{"type":45,"value":488},{"type":39,"tag":81,"props":1998,"children":1999},{"style":134},[2000],{"type":45,"value":249},{"type":39,"tag":81,"props":2002,"children":2003},{"style":140},[2004],{"type":45,"value":1875},{"type":39,"tag":81,"props":2006,"children":2007},{"style":134},[2008],{"type":45,"value":61},{"type":39,"tag":81,"props":2010,"children":2011},{"style":1179},[2012],{"type":45,"value":2013},"object",{"type":39,"tag":81,"props":2015,"children":2016},{"style":140},[2017],{"type":45,"value":2018},"(",{"type":39,"tag":81,"props":2020,"children":2021},{"style":134},[2022],{"type":45,"value":2023},"{",{"type":39,"tag":81,"props":2025,"children":2026},{"style":270},[2027],{"type":45,"value":2028}," label",{"type":39,"tag":81,"props":2030,"children":2031},{"style":134},[2032],{"type":45,"value":249},{"type":39,"tag":81,"props":2034,"children":2035},{"style":140},[2036],{"type":45,"value":1875},{"type":39,"tag":81,"props":2038,"children":2039},{"style":134},[2040],{"type":45,"value":61},{"type":39,"tag":81,"props":2042,"children":2043},{"style":1179},[2044],{"type":45,"value":2045},"string",{"type":39,"tag":81,"props":2047,"children":2048},{"style":140},[2049],{"type":45,"value":2050},"()",{"type":39,"tag":81,"props":2052,"children":2053},{"style":134},[2054],{"type":45,"value":355},{"type":39,"tag":81,"props":2056,"children":2057},{"style":270},[2058],{"type":45,"value":2059}," color",{"type":39,"tag":81,"props":2061,"children":2062},{"style":134},[2063],{"type":45,"value":249},{"type":39,"tag":81,"props":2065,"children":2066},{"style":140},[2067],{"type":45,"value":1875},{"type":39,"tag":81,"props":2069,"children":2070},{"style":134},[2071],{"type":45,"value":61},{"type":39,"tag":81,"props":2073,"children":2074},{"style":1179},[2075],{"type":45,"value":2045},{"type":39,"tag":81,"props":2077,"children":2078},{"style":140},[2079],{"type":45,"value":2050},{"type":39,"tag":81,"props":2081,"children":2082},{"style":134},[2083],{"type":45,"value":61},{"type":39,"tag":81,"props":2085,"children":2086},{"style":1179},[2087],{"type":45,"value":2088},"nullable",{"type":39,"tag":81,"props":2090,"children":2091},{"style":140},[2092],{"type":45,"value":2093},"() ",{"type":39,"tag":81,"props":2095,"children":2096},{"style":134},[2097],{"type":45,"value":2098},"}",{"type":39,"tag":81,"props":2100,"children":2101},{"style":140},[2102],{"type":45,"value":1434},{"type":39,"tag":81,"props":2104,"children":2105},{"style":134},[2106],{"type":45,"value":295},{"type":39,"tag":81,"props":2108,"children":2109},{"class":83,"line":526},[2110,2115,2119,2123],{"type":39,"tag":81,"props":2111,"children":2112},{"style":270},[2113],{"type":45,"value":2114},"      slots",{"type":39,"tag":81,"props":2116,"children":2117},{"style":134},[2118],{"type":45,"value":249},{"type":39,"tag":81,"props":2120,"children":2121},{"style":140},[2122],{"type":45,"value":718},{"type":39,"tag":81,"props":2124,"children":2125},{"style":134},[2126],{"type":45,"value":295},{"type":39,"tag":81,"props":2128,"children":2129},{"class":83,"line":582},[2130,2135,2139,2143,2148,2152],{"type":39,"tag":81,"props":2131,"children":2132},{"style":270},[2133],{"type":45,"value":2134},"      description",{"type":39,"tag":81,"props":2136,"children":2137},{"style":134},[2138],{"type":45,"value":249},{"type":39,"tag":81,"props":2140,"children":2141},{"style":134},[2142],{"type":45,"value":158},{"type":39,"tag":81,"props":2144,"children":2145},{"style":94},[2146],{"type":45,"value":2147},"A colored badge label",{"type":39,"tag":81,"props":2149,"children":2150},{"style":134},[2151],{"type":45,"value":167},{"type":39,"tag":81,"props":2153,"children":2154},{"style":134},[2155],{"type":45,"value":295},{"type":39,"tag":81,"props":2157,"children":2158},{"class":83,"line":591},[2159],{"type":39,"tag":81,"props":2160,"children":2161},{"style":134},[2162],{"type":45,"value":588},{"type":39,"tag":81,"props":2164,"children":2165},{"class":83,"line":608},[2166],{"type":39,"tag":81,"props":2167,"children":2168},{"style":134},[2169],{"type":45,"value":1136},{"type":39,"tag":81,"props":2171,"children":2172},{"class":83,"line":637},[2173,2178,2182],{"type":39,"tag":81,"props":2174,"children":2175},{"style":270},[2176],{"type":45,"value":2177},"  actions",{"type":39,"tag":81,"props":2179,"children":2180},{"style":134},[2181],{"type":45,"value":249},{"type":39,"tag":81,"props":2183,"children":2184},{"style":134},[2185],{"type":45,"value":2186}," {},\n",{"type":39,"tag":81,"props":2188,"children":2189},{"class":83,"line":704},[2190,2194,2198],{"type":39,"tag":81,"props":2191,"children":2192},{"style":134},[2193],{"type":45,"value":2098},{"type":39,"tag":81,"props":2195,"children":2196},{"style":140},[2197],{"type":45,"value":1434},{"type":39,"tag":81,"props":2199,"children":2200},{"style":134},[2201],{"type":45,"value":172},{"type":39,"tag":81,"props":2203,"children":2204},{"class":83,"line":725},[2205],{"type":39,"tag":81,"props":2206,"children":2207},{"emptyLinePlaceholder":226},[2208],{"type":45,"value":229},{"type":39,"tag":81,"props":2210,"children":2211},{"class":83,"line":733},[2212,2216,2220,2225,2229,2233,2237,2242,2246],{"type":39,"tag":81,"props":2213,"children":2214},{"style":236},[2215],{"type":45,"value":239},{"type":39,"tag":81,"props":2217,"children":2218},{"style":134},[2219],{"type":45,"value":137},{"type":39,"tag":81,"props":2221,"children":2222},{"style":140},[2223],{"type":45,"value":2224}," registry ",{"type":39,"tag":81,"props":2226,"children":2227},{"style":134},[2228],{"type":45,"value":2098},{"type":39,"tag":81,"props":2230,"children":2231},{"style":134},[2232],{"type":45,"value":258},{"type":39,"tag":81,"props":2234,"children":2235},{"style":1179},[2236],{"type":45,"value":1786},{"type":39,"tag":81,"props":2238,"children":2239},{"style":140},[2240],{"type":45,"value":2241},"(catalog",{"type":39,"tag":81,"props":2243,"children":2244},{"style":134},[2245],{"type":45,"value":355},{"type":39,"tag":81,"props":2247,"children":2248},{"style":134},[2249],{"type":45,"value":263},{"type":39,"tag":81,"props":2251,"children":2252},{"class":83,"line":750},[2253,2257,2261],{"type":39,"tag":81,"props":2254,"children":2255},{"style":270},[2256],{"type":45,"value":1948},{"type":39,"tag":81,"props":2258,"children":2259},{"style":134},[2260],{"type":45,"value":249},{"type":39,"tag":81,"props":2262,"children":2263},{"style":134},[2264],{"type":45,"value":263},{"type":39,"tag":81,"props":2266,"children":2267},{"class":83,"line":779},[2268,2272,2276,2281,2286,2291,2296],{"type":39,"tag":81,"props":2269,"children":2270},{"style":1179},[2271],{"type":45,"value":1981},{"type":39,"tag":81,"props":2273,"children":2274},{"style":134},[2275],{"type":45,"value":249},{"type":39,"tag":81,"props":2277,"children":2278},{"style":134},[2279],{"type":45,"value":2280}," ({",{"type":39,"tag":81,"props":2282,"children":2284},{"style":2283},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[2285],{"type":45,"value":360},{"type":39,"tag":81,"props":2287,"children":2288},{"style":134},[2289],{"type":45,"value":2290}," })",{"type":39,"tag":81,"props":2292,"children":2293},{"style":236},[2294],{"type":45,"value":2295}," =>",{"type":39,"tag":81,"props":2297,"children":2298},{"style":140},[2299],{"type":45,"value":2300}," (\n",{"type":39,"tag":81,"props":2302,"children":2303},{"class":83,"line":795},[2304,2309,2314,2319,2324,2328,2332,2336,2341,2346,2350,2355,2359,2363,2368,2372,2378],{"type":39,"tag":81,"props":2305,"children":2306},{"style":134},[2307],{"type":45,"value":2308},"      \u003C",{"type":39,"tag":81,"props":2310,"children":2311},{"style":140},[2312],{"type":45,"value":2313},"View style",{"type":39,"tag":81,"props":2315,"children":2316},{"style":134},[2317],{"type":45,"value":2318},"={{",{"type":39,"tag":81,"props":2320,"children":2321},{"style":88},[2322],{"type":45,"value":2323}," backgroundColor",{"type":39,"tag":81,"props":2325,"children":2326},{"style":134},[2327],{"type":45,"value":249},{"type":39,"tag":81,"props":2329,"children":2330},{"style":140},[2331],{"type":45,"value":360},{"type":39,"tag":81,"props":2333,"children":2334},{"style":134},[2335],{"type":45,"value":61},{"type":39,"tag":81,"props":2337,"children":2338},{"style":140},[2339],{"type":45,"value":2340},"color",{"type":39,"tag":81,"props":2342,"children":2343},{"style":134},[2344],{"type":45,"value":2345}," ??",{"type":39,"tag":81,"props":2347,"children":2348},{"style":134},[2349],{"type":45,"value":158},{"type":39,"tag":81,"props":2351,"children":2352},{"style":94},[2353],{"type":45,"value":2354},"#e5e7eb",{"type":39,"tag":81,"props":2356,"children":2357},{"style":134},[2358],{"type":45,"value":167},{"type":39,"tag":81,"props":2360,"children":2361},{"style":134},[2362],{"type":45,"value":355},{"type":39,"tag":81,"props":2364,"children":2365},{"style":88},[2366],{"type":45,"value":2367}," padding",{"type":39,"tag":81,"props":2369,"children":2370},{"style":134},[2371],{"type":45,"value":249},{"type":39,"tag":81,"props":2373,"children":2375},{"style":2374},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[2376],{"type":45,"value":2377}," 4",{"type":39,"tag":81,"props":2379,"children":2380},{"style":134},[2381],{"type":45,"value":2382}," }}>\n",{"type":39,"tag":81,"props":2384,"children":2385},{"class":83,"line":813},[2386,2391,2395,2400,2404,2409,2414,2418],{"type":39,"tag":81,"props":2387,"children":2388},{"style":140},[2389],{"type":45,"value":2390},"        \u003C",{"type":39,"tag":81,"props":2392,"children":2393},{"style":88},[2394],{"type":45,"value":1585},{"type":39,"tag":81,"props":2396,"children":2397},{"style":140},[2398],{"type":45,"value":2399},">",{"type":39,"tag":81,"props":2401,"children":2402},{"style":134},[2403],{"type":45,"value":2023},{"type":39,"tag":81,"props":2405,"children":2406},{"style":140},[2407],{"type":45,"value":2408},"props.label",{"type":39,"tag":81,"props":2410,"children":2411},{"style":134},[2412],{"type":45,"value":2413},"}\u003C\u002F",{"type":39,"tag":81,"props":2415,"children":2416},{"style":140},[2417],{"type":45,"value":1585},{"type":39,"tag":81,"props":2419,"children":2420},{"style":134},[2421],{"type":45,"value":2422},">\n",{"type":39,"tag":81,"props":2424,"children":2425},{"class":83,"line":874},[2426,2431,2435],{"type":39,"tag":81,"props":2427,"children":2428},{"style":134},[2429],{"type":45,"value":2430},"      \u003C\u002F",{"type":39,"tag":81,"props":2432,"children":2433},{"style":140},[2434],{"type":45,"value":1527},{"type":39,"tag":81,"props":2436,"children":2437},{"style":134},[2438],{"type":45,"value":2422},{"type":39,"tag":81,"props":2440,"children":2441},{"class":83,"line":958},[2442,2447],{"type":39,"tag":81,"props":2443,"children":2444},{"style":140},[2445],{"type":45,"value":2446},"    )",{"type":39,"tag":81,"props":2448,"children":2449},{"style":134},[2450],{"type":45,"value":295},{"type":39,"tag":81,"props":2452,"children":2453},{"class":83,"line":971},[2454],{"type":39,"tag":81,"props":2455,"children":2456},{"style":134},[2457],{"type":45,"value":1136},{"type":39,"tag":81,"props":2459,"children":2460},{"class":83,"line":988},[2461,2465,2469],{"type":39,"tag":81,"props":2462,"children":2463},{"style":134},[2464],{"type":45,"value":2098},{"type":39,"tag":81,"props":2466,"children":2467},{"style":140},[2468],{"type":45,"value":1434},{"type":39,"tag":81,"props":2470,"children":2471},{"style":134},[2472],{"type":45,"value":172},{"type":39,"tag":81,"props":2474,"children":2475},{"class":83,"line":1035},[2476],{"type":39,"tag":81,"props":2477,"children":2478},{"emptyLinePlaceholder":226},[2479],{"type":45,"value":229},{"type":39,"tag":81,"props":2481,"children":2482},{"class":83,"line":1081},[2483,2487,2491,2495,2499,2503,2507,2511,2515,2519,2523,2527],{"type":39,"tag":81,"props":2484,"children":2485},{"style":236},[2486],{"type":45,"value":239},{"type":39,"tag":81,"props":2488,"children":2489},{"style":140},[2490],{"type":45,"value":1166},{"type":39,"tag":81,"props":2492,"children":2493},{"style":134},[2494],{"type":45,"value":1171},{"type":39,"tag":81,"props":2496,"children":2497},{"style":128},[2498],{"type":45,"value":1176},{"type":39,"tag":81,"props":2500,"children":2501},{"style":1179},[2502],{"type":45,"value":143},{"type":39,"tag":81,"props":2504,"children":2505},{"style":140},[2506],{"type":45,"value":1412},{"type":39,"tag":81,"props":2508,"children":2509},{"style":134},[2510],{"type":45,"value":355},{"type":39,"tag":81,"props":2512,"children":2513},{"style":134},[2514],{"type":45,"value":137},{"type":39,"tag":81,"props":2516,"children":2517},{"style":140},[2518],{"type":45,"value":2224},{"type":39,"tag":81,"props":2520,"children":2521},{"style":134},[2522],{"type":45,"value":2098},{"type":39,"tag":81,"props":2524,"children":2525},{"style":140},[2526],{"type":45,"value":1434},{"type":39,"tag":81,"props":2528,"children":2529},{"style":134},[2530],{"type":45,"value":172},{"type":39,"tag":63,"props":2532,"children":2534},{"id":2533},"external-store-controlled-mode",[2535],{"type":45,"value":2536},"External Store (Controlled Mode)",{"type":39,"tag":48,"props":2538,"children":2539},{},[2540,2542,2548],{"type":45,"value":2541},"Pass a ",{"type":39,"tag":54,"props":2543,"children":2545},{"className":2544},[],[2546],{"type":45,"value":2547},"StateStore",{"type":45,"value":2549}," for full control over state:",{"type":39,"tag":70,"props":2551,"children":2553},{"className":116,"code":2552,"language":118,"meta":75,"style":75},"import { createStateStore } from \"@json-render\u002Freact-pdf\";\n\nconst store = createStateStore({ invoice: { total: 100 } });\nstore.set(\"\u002Finvoice\u002Ftotal\", 200);\n",[2554],{"type":39,"tag":54,"props":2555,"children":2556},{"__ignoreMap":75},[2557,2597,2604,2675],{"type":39,"tag":81,"props":2558,"children":2559},{"class":83,"line":84},[2560,2564,2568,2573,2577,2581,2585,2589,2593],{"type":39,"tag":81,"props":2561,"children":2562},{"style":128},[2563],{"type":45,"value":131},{"type":39,"tag":81,"props":2565,"children":2566},{"style":134},[2567],{"type":45,"value":137},{"type":39,"tag":81,"props":2569,"children":2570},{"style":140},[2571],{"type":45,"value":2572}," createStateStore",{"type":39,"tag":81,"props":2574,"children":2575},{"style":134},[2576],{"type":45,"value":148},{"type":39,"tag":81,"props":2578,"children":2579},{"style":128},[2580],{"type":45,"value":153},{"type":39,"tag":81,"props":2582,"children":2583},{"style":134},[2584],{"type":45,"value":158},{"type":39,"tag":81,"props":2586,"children":2587},{"style":94},[2588],{"type":45,"value":46},{"type":39,"tag":81,"props":2590,"children":2591},{"style":134},[2592],{"type":45,"value":167},{"type":39,"tag":81,"props":2594,"children":2595},{"style":134},[2596],{"type":45,"value":172},{"type":39,"tag":81,"props":2598,"children":2599},{"class":83,"line":175},[2600],{"type":39,"tag":81,"props":2601,"children":2602},{"emptyLinePlaceholder":226},[2603],{"type":45,"value":229},{"type":39,"tag":81,"props":2605,"children":2606},{"class":83,"line":222},[2607,2611,2616,2620,2624,2628,2632,2637,2641,2645,2650,2654,2659,2663,2667,2671],{"type":39,"tag":81,"props":2608,"children":2609},{"style":236},[2610],{"type":45,"value":239},{"type":39,"tag":81,"props":2612,"children":2613},{"style":140},[2614],{"type":45,"value":2615}," store ",{"type":39,"tag":81,"props":2617,"children":2618},{"style":134},[2619],{"type":45,"value":1171},{"type":39,"tag":81,"props":2621,"children":2622},{"style":1179},[2623],{"type":45,"value":2572},{"type":39,"tag":81,"props":2625,"children":2626},{"style":140},[2627],{"type":45,"value":2018},{"type":39,"tag":81,"props":2629,"children":2630},{"style":134},[2631],{"type":45,"value":2023},{"type":39,"tag":81,"props":2633,"children":2634},{"style":270},[2635],{"type":45,"value":2636}," invoice",{"type":39,"tag":81,"props":2638,"children":2639},{"style":134},[2640],{"type":45,"value":249},{"type":39,"tag":81,"props":2642,"children":2643},{"style":134},[2644],{"type":45,"value":137},{"type":39,"tag":81,"props":2646,"children":2647},{"style":270},[2648],{"type":45,"value":2649}," total",{"type":39,"tag":81,"props":2651,"children":2652},{"style":134},[2653],{"type":45,"value":249},{"type":39,"tag":81,"props":2655,"children":2656},{"style":2374},[2657],{"type":45,"value":2658}," 100",{"type":39,"tag":81,"props":2660,"children":2661},{"style":134},[2662],{"type":45,"value":148},{"type":39,"tag":81,"props":2664,"children":2665},{"style":134},[2666],{"type":45,"value":148},{"type":39,"tag":81,"props":2668,"children":2669},{"style":140},[2670],{"type":45,"value":1434},{"type":39,"tag":81,"props":2672,"children":2673},{"style":134},[2674],{"type":45,"value":172},{"type":39,"tag":81,"props":2676,"children":2677},{"class":83,"line":232},[2678,2683,2687,2692,2696,2700,2705,2709,2713,2718,2722],{"type":39,"tag":81,"props":2679,"children":2680},{"style":140},[2681],{"type":45,"value":2682},"store",{"type":39,"tag":81,"props":2684,"children":2685},{"style":134},[2686],{"type":45,"value":61},{"type":39,"tag":81,"props":2688,"children":2689},{"style":1179},[2690],{"type":45,"value":2691},"set",{"type":39,"tag":81,"props":2693,"children":2694},{"style":140},[2695],{"type":45,"value":2018},{"type":39,"tag":81,"props":2697,"children":2698},{"style":134},[2699],{"type":45,"value":167},{"type":39,"tag":81,"props":2701,"children":2702},{"style":94},[2703],{"type":45,"value":2704},"\u002Finvoice\u002Ftotal",{"type":39,"tag":81,"props":2706,"children":2707},{"style":134},[2708],{"type":45,"value":167},{"type":39,"tag":81,"props":2710,"children":2711},{"style":134},[2712],{"type":45,"value":355},{"type":39,"tag":81,"props":2714,"children":2715},{"style":2374},[2716],{"type":45,"value":2717}," 200",{"type":39,"tag":81,"props":2719,"children":2720},{"style":140},[2721],{"type":45,"value":1434},{"type":39,"tag":81,"props":2723,"children":2724},{"style":134},[2725],{"type":45,"value":172},{"type":39,"tag":63,"props":2727,"children":2729},{"id":2728},"server-safe-import",[2730],{"type":45,"value":2731},"Server-Safe Import",{"type":39,"tag":48,"props":2733,"children":2734},{},[2735],{"type":45,"value":2736},"Import schema and catalog without pulling in React:",{"type":39,"tag":70,"props":2738,"children":2740},{"className":116,"code":2739,"language":118,"meta":75,"style":75},"import { schema, standardComponentDefinitions } from \"@json-render\u002Freact-pdf\u002Fserver\";\n",[2741],{"type":39,"tag":54,"props":2742,"children":2743},{"__ignoreMap":75},[2744],{"type":39,"tag":81,"props":2745,"children":2746},{"class":83,"line":84},[2747,2751,2755,2759,2763,2767,2771,2775,2779,2784,2788],{"type":39,"tag":81,"props":2748,"children":2749},{"style":128},[2750],{"type":45,"value":131},{"type":39,"tag":81,"props":2752,"children":2753},{"style":134},[2754],{"type":45,"value":137},{"type":39,"tag":81,"props":2756,"children":2757},{"style":140},[2758],{"type":45,"value":1777},{"type":39,"tag":81,"props":2760,"children":2761},{"style":134},[2762],{"type":45,"value":355},{"type":39,"tag":81,"props":2764,"children":2765},{"style":140},[2766],{"type":45,"value":1834},{"type":39,"tag":81,"props":2768,"children":2769},{"style":134},[2770],{"type":45,"value":148},{"type":39,"tag":81,"props":2772,"children":2773},{"style":128},[2774],{"type":45,"value":153},{"type":39,"tag":81,"props":2776,"children":2777},{"style":134},[2778],{"type":45,"value":158},{"type":39,"tag":81,"props":2780,"children":2781},{"style":94},[2782],{"type":45,"value":2783},"@json-render\u002Freact-pdf\u002Fserver",{"type":39,"tag":81,"props":2785,"children":2786},{"style":134},[2787],{"type":45,"value":167},{"type":39,"tag":81,"props":2789,"children":2790},{"style":134},[2791],{"type":45,"value":172},{"type":39,"tag":2793,"props":2794,"children":2795},"style",{},[2796],{"type":45,"value":2797},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2799,"total":971},[2800,2816,2832,2846,2863,2875,2887],{"slug":2801,"name":2801,"fn":2802,"description":2803,"org":2804,"tags":2805,"stars":22,"repoUrl":23,"updatedAt":2815},"codegen","generate code from UI specifications","Code generation utilities for json-render. Use when generating code from UI specs, building custom code exporters, traversing specs, or serializing props for @json-render\u002Fcodegen.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2806,2809,2812],{"name":2807,"slug":2808,"type":15},"Code Generation","code-generation",{"name":2810,"slug":2811,"type":15},"Engineering","engineering",{"name":2813,"slug":2814,"type":15},"JSON","json","2026-07-17T06:08:34.68038",{"slug":2817,"name":2817,"fn":2818,"description":2819,"org":2820,"tags":2821,"stars":22,"repoUrl":23,"updatedAt":2831},"devtools","inspect and debug generative UI components","Drop-in inspector panel for any json-render app. Use when the user wants to debug a generative UI, inspect the spec tree, edit state at runtime, see dispatched actions, follow stream patches live, browse a catalog, or pick DOM elements to find their spec keys. Triggers include \"add devtools\", \"debug json-render\", \"inspect the spec\", \"why is this element not rendering\", \"see the state at runtime\", or requests to tap streams \u002F capture action logs for `@json-render\u002Fdevtools`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2822,2825,2828],{"name":2823,"slug":2824,"type":15},"Debugging","debugging",{"name":2826,"slug":2827,"type":15},"Frontend","frontend",{"name":2829,"slug":2830,"type":15},"UI Components","ui-components","2026-07-17T06:08:35.001228",{"slug":2833,"name":2833,"fn":2834,"description":2835,"org":2836,"tags":2837,"stars":22,"repoUrl":23,"updatedAt":2845},"directives","apply custom directives to JSON specs","Pre-built custom directives for json-render — formatting, math, string manipulation, and i18n. Use when working with @json-render\u002Fdirectives, defining custom directives with defineDirective, or adding $format, $math, $concat, $count, $truncate, $pluralize, $join, or $t to specs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2838,2841,2842,2844],{"name":2839,"slug":2840,"type":15},"Automation","automation",{"name":2826,"slug":2827,"type":15},{"name":2843,"slug":2843,"type":15},"i18n",{"name":2813,"slug":2814,"type":15},"2026-07-17T06:04:05.866831",{"slug":2847,"name":2847,"fn":2848,"description":2849,"org":2850,"tags":2851,"stars":22,"repoUrl":23,"updatedAt":2862},"image","generate images from JSON specifications","Image renderer for json-render that turns JSON specs into SVG and PNG images via Satori. Use when working with @json-render\u002Fimage, generating OG images from JSON, creating social cards, or rendering AI-generated image specs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2852,2855,2856,2859],{"name":2853,"slug":2854,"type":15},"Images","images",{"name":2813,"slug":2814,"type":15},{"name":2857,"slug":2858,"type":15},"Satori","satori",{"name":2860,"slug":2861,"type":15},"SVG","svg","2026-07-17T06:07:42.441875",{"slug":2864,"name":2864,"fn":2865,"description":2866,"org":2867,"tags":2868,"stars":22,"repoUrl":23,"updatedAt":2874},"ink","render JSON specs as terminal UIs","Ink terminal renderer for json-render that turns JSON specs into interactive terminal UIs. Use when working with @json-render\u002Fink, building terminal UIs from JSON, creating terminal component catalogs, or rendering AI-generated specs in the terminal.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2869,2872,2873],{"name":2870,"slug":2871,"type":15},"CLI","cli",{"name":2813,"slug":2814,"type":15},{"name":2829,"slug":2830,"type":15},"2026-07-17T06:08:28.678043",{"slug":2876,"name":2876,"fn":2877,"description":2878,"org":2879,"tags":2880,"stars":22,"repoUrl":23,"updatedAt":2886},"jotai","manage state with Jotai","Jotai adapter for json-render's StateStore interface. Use when integrating json-render with Jotai for state management via @json-render\u002Fjotai.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2881,2882,2883],{"name":2826,"slug":2827,"type":15},{"name":17,"slug":18,"type":15},{"name":2884,"slug":2885,"type":15},"State Management","state-management","2026-07-17T06:05:48.244622",{"slug":2888,"name":2888,"fn":2889,"description":2890,"org":2891,"tags":2892,"stars":22,"repoUrl":23,"updatedAt":2898},"mcp","render interactive UIs with MCP","MCP Apps integration for json-render. Use when building MCP servers that render interactive UIs in Claude, ChatGPT, Cursor, or VS Code, or when integrating json-render with the Model Context Protocol.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2893,2894,2895,2897],{"name":2826,"slug":2827,"type":15},{"name":2813,"slug":2814,"type":15},{"name":2896,"slug":2888,"type":15},"MCP",{"name":2829,"slug":2830,"type":15},"2026-07-17T06:05:41.274723",{"items":2900,"total":3060},[2901,2917,2929,2941,2956,2971,2983,2996,3009,3022,3032,3045],{"slug":2902,"name":2902,"fn":2903,"description":2904,"org":2905,"tags":2906,"stars":2914,"repoUrl":2915,"updatedAt":2916},"agent-browser","automate browser interactions for AI agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2907,2910,2911],{"name":2908,"slug":2909,"type":15},"Agents","agents",{"name":2839,"slug":2840,"type":15},{"name":2912,"slug":2913,"type":15},"Browser Automation","browser-automation",38346,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-browser","2026-07-20T05:55:17.314329",{"slug":2918,"name":2918,"fn":2919,"description":2920,"org":2921,"tags":2922,"stars":2914,"repoUrl":2915,"updatedAt":2928},"agentcore","run browser automation on AWS Bedrock","Run agent-browser on AWS Bedrock AgentCore cloud browsers. Use when the user wants to use AgentCore, run browser automation on AWS, use a cloud browser with AWS credentials, or needs a managed browser session backed by AWS infrastructure. Triggers include \"use agentcore\", \"run on AWS\", \"cloud browser with AWS\", \"bedrock browser\", \"agentcore session\", or any task requiring AWS-hosted browser automation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2923,2924,2927],{"name":2839,"slug":2840,"type":15},{"name":2925,"slug":2926,"type":15},"AWS","aws",{"name":2912,"slug":2913,"type":15},"2026-07-17T06:08:33.665276",{"slug":2930,"name":2930,"fn":2931,"description":2932,"org":2933,"tags":2934,"stars":2914,"repoUrl":2915,"updatedAt":2940},"core","navigate and interact with web pages","Core agent-browser usage guide. Read this before running any agent-browser commands. Covers the snapshot-and-ref workflow, navigating pages, interacting with elements (click, fill, type, select), extracting text and data, taking screenshots, managing tabs, handling forms and auth, waiting for content, running multiple browser sessions in parallel, and troubleshooting common failures. Use when the user asks to interact with a website, fill a form, click something, extract data, take a screenshot, log into a site, test a web app, or automate any browser task.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2935,2936,2937],{"name":2908,"slug":2909,"type":15},{"name":2912,"slug":2913,"type":15},{"name":2938,"slug":2939,"type":15},"Navigation","navigation","2026-07-26T05:47:42.378419",{"slug":2942,"name":2942,"fn":2943,"description":2944,"org":2945,"tags":2946,"stars":2914,"repoUrl":2915,"updatedAt":2955},"derive-client","reverse engineer internal APIs from browser traffic","Reverse-engineer a website's internal API by recording browser traffic into a HAR file, then generate a standalone client or CLI that calls the endpoints directly, with no browser needed after the first recording. Use when asked to \"derive a client\", \"build a CLI for \u003Csite>\", \"reverse engineer this site's API\", \"record network requests\", \"turn this site into an API\", or when the same site will be automated repeatedly and direct HTTP calls would beat driving the browser every time.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2947,2950,2951,2952],{"name":2948,"slug":2949,"type":15},"API Development","api-development",{"name":2839,"slug":2840,"type":15},{"name":2912,"slug":2913,"type":15},{"name":2953,"slug":2954,"type":15},"Web Scraping","web-scraping","2026-07-20T06:24:11.928835",{"slug":2957,"name":2957,"fn":2958,"description":2959,"org":2960,"tags":2961,"stars":2914,"repoUrl":2915,"updatedAt":2970},"dogfood","perform exploratory testing on web applications","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2962,2963,2964,2967],{"name":2912,"slug":2913,"type":15},{"name":2823,"slug":2824,"type":15},{"name":2965,"slug":2966,"type":15},"QA","qa",{"name":2968,"slug":2969,"type":15},"Testing","testing","2026-07-17T06:07:41.421482",{"slug":2972,"name":2972,"fn":2973,"description":2974,"org":2975,"tags":2976,"stars":2914,"repoUrl":2915,"updatedAt":2982},"electron","automate Electron desktop applications","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2977,2978,2979],{"name":2908,"slug":2909,"type":15},{"name":2912,"slug":2913,"type":15},{"name":2980,"slug":2981,"type":15},"Desktop","desktop","2026-07-17T06:08:28.007783",{"slug":2984,"name":2984,"fn":2985,"description":2986,"org":2987,"tags":2988,"stars":2914,"repoUrl":2915,"updatedAt":2995},"slack","interact with Slack workspaces","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2989,2990,2993],{"name":2912,"slug":2913,"type":15},{"name":2991,"slug":2992,"type":15},"Messaging","messaging",{"name":2994,"slug":2984,"type":15},"Slack","2026-07-17T06:08:27.679015",{"slug":2997,"name":2997,"fn":2998,"description":2999,"org":3000,"tags":3001,"stars":2914,"repoUrl":2915,"updatedAt":3008},"vercel-sandbox","run browser automation in Vercel Sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3002,3003,3004,3005],{"name":2839,"slug":2840,"type":15},{"name":2912,"slug":2913,"type":15},{"name":2968,"slug":2969,"type":15},{"name":3006,"slug":3007,"type":15},"Vercel","vercel","2026-07-17T06:08:28.349899",{"slug":3010,"name":3010,"fn":3011,"description":3012,"org":3013,"tags":3014,"stars":3019,"repoUrl":3020,"updatedAt":3021},"deploy-to-vercel","deploy applications to Vercel","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3015,3018],{"name":3016,"slug":3017,"type":15},"Deployment","deployment",{"name":3006,"slug":3007,"type":15},28993,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills","2026-07-17T06:08:41.18374",{"slug":3023,"name":3023,"fn":3024,"description":3025,"org":3026,"tags":3027,"stars":3019,"repoUrl":3020,"updatedAt":3031},"vercel-cli-with-tokens","manage Vercel projects via CLI","Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. \"deploy to vercel\", \"set up vercel\", \"add environment variables to vercel\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3028,3029,3030],{"name":2870,"slug":2871,"type":15},{"name":3016,"slug":3017,"type":15},{"name":3006,"slug":3007,"type":15},"2026-07-17T06:08:41.84179",{"slug":3033,"name":3033,"fn":3034,"description":3035,"org":3036,"tags":3037,"stars":3019,"repoUrl":3020,"updatedAt":3044},"vercel-composition-patterns","implement scalable React composition patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3038,3041,3042,3043],{"name":3039,"slug":3040,"type":15},"Best Practices","best-practices",{"name":2826,"slug":2827,"type":15},{"name":17,"slug":18,"type":15},{"name":2829,"slug":2830,"type":15},"2026-07-17T06:05:40.576913",{"slug":3046,"name":3046,"fn":3047,"description":3048,"org":3049,"tags":3050,"stars":3019,"repoUrl":3020,"updatedAt":3059},"vercel-optimize","optimize Vercel project performance and costs","Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel\u002Fframework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3051,3054,3055,3058],{"name":3052,"slug":3053,"type":15},"Cost Optimization","cost-optimization",{"name":3016,"slug":3017,"type":15},{"name":3056,"slug":3057,"type":15},"Performance","performance",{"name":3006,"slug":3007,"type":15},"2026-07-17T06:04:08.327515",100]