---
title: "Gift card page"
description: "Kiln & Co.'s gift cards: three drawn designs, an amount or your own, now or on a date, a live email preview, Add to cart, a balance checker that answers in place and the questions people ask."
plan: Pro
docs: https://ui.edbn.me/docs/templates/gift-card-page
---

# Gift card page

Kiln & Co.'s gift cards: three drawn designs, an amount or your own, now or on a date, a live email preview, Add to cart, a balance checker that answers in place and the questions people ask.

Under the store header, the gift card is one form on the Pro forms beside the email it becomes. Three drawn designs are option cards showing the chosen amount; a ToggleGroup sets the amount, and Other opens a dollar field ($10 to $500) with its error inline. Send it now or on a date, which shows the date field. Who it's for, who it's from and a message counted to 200 characters feed the preview on every keystroke: the subject, the card, the message and the day and hour it arrives. Add to cart checks the form, shows its progress at a held width and puts the card in the header's cart. A balance checker takes the 16-digit number, spaced into fours as it's typed, and the PIN, and answers in place; a pair it doesn't know clears the PIN. The questions sit in an accordion with a link to the gift finder. Every section shares the 1152px page width, one gutter and one 96px gap, and lays out by its own width, so the page holds at 1440, 1024, 768 and 390.

A Pro page template built on Base UI and Tailwind CSS v4.

## 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/gift-card-page
```

## Dependencies
- npm: zod@^4.3.5, react-hook-form@^7.87.0, lucide-react@^1.33.0
- edbn: edbn-base, accordion, aspect-ratio, badge, breadcrumb, button, collapsible, field, input, input-group, navigation-menu, radio-group, select, separator, sheet, spinner, text-link, toggle-group, form-core, form-date-field, form-fields

## Source

The source is part of Pro (https://ui.edbn.me/pricing). The install above adds it to the project, ready to edit.

## More storefront templates

All 11, with install commands: https://ui.edbn.me/docs/templates/storefront (Markdown: https://ui.edbn.me/docs/templates/storefront.md)

## 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
