---
title: "Panel"
description: "A shaded block that sets apart a summary or a required action."
plan: Pro
docs: https://ui.edbn.me/docs/pdfs/panel
---

# Panel

A shaded block that sets apart a summary or a required action.

panel puts any content on a full-width, very light grey fill with 14pt padding and rounded corners. The example puts a block-title, Action required, over a body-text paragraph asking for approval by a date. None of the 16 templates includes one, so it goes in by editing a template’s Typst source, which is installed in the project.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/pdf-panel
```

## Dependencies
- edbn: pdf-shared

## Usage

The example code is part of Pro (https://ui.edbn.me/pricing). With the user's token, the edbn MCP server's `get_example` tool returns it: https://ui.edbn.me/mcp

## Files
- lib/pdf/components/panel.typ (3 lines)
- lib/pdf/templates/panel-example.typ (10 lines)
- lib/pdf/examples/components/panel.ts (18 lines)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
