# Application Inbox and Email: Template Library

Canned reply template library with category filter chips and a card grid showing each template name, body preview, slash shortcut, and usage count.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/template-library
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Inbox and Email](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email)
- Created: 2026-07-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/template-library.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-inbox-email-template-library
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button
- Installs to: `@/components/blocks/application-pro/inbox-email/template-library`

## About this block

Template Library is the canned reply gallery, a header
with a New template action, a row of category filter
chips (All, Support, Sales, Scheduling, Internal each
carrying a count), and a card grid of reusable replies.
Every card shows the template name, a category badge, a
clamped three line body preview, a slash shortcut in a
kbd chip, and a usage count, and a dashed create tile
closes the grid.

Templates are one typed array and the filter chips
carry their own counts, so the grid and the filters
stay in sync as replies are added. The body preview
uses line-clamp so long templates keep a tidy card
height, and the shortcut chip signals how each template
is inserted from the composer.

## When to use

Reach for this block on the templates or saved replies
screen of a support or sales tool, wired to your
template store. The cards are static demo data; load
real templates, wire the filter chips to your
categories, and connect New template to your editor.

A natural flow around it on an Application Pro page:

**Before**

- [Settings pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)
- [Split inbox](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email)

**After**

- [Email reader](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email)
- [Signature editor](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email)

## What you can display

One strong use is the shared reply library. Other saved
snippet surfaces:

- **Macro list.** Support macros grouped by category,
  each with a shortcut and a usage count.
- **Proposal blocks.** Reusable sales sections a rep
  drops into a deal, sorted by stage.
- **Doc snippets.** Common answers a team pastes into
  tickets, ranked by how often they are used.

> Tip: the slash shortcut on every card teaches the
> composer trigger, so people learn to insert a
> template without leaving the message they are writing.

## More in Application Inbox and Email

- [Attachment Gallery](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/attachment-gallery)
- [Bulk Actions Toolbar](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/bulk-actions-toolbar)
- [Compose Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/compose-blueprint)
- [Delivery Status](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/delivery-status)
- [Email Filters Rules](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/email-filters-rules)
- [Email List](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/email-list)
- [Email Reader](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/email-reader)
- [Inbox Sidebar](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/inbox-sidebar)
- [Label Manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/label-manager)
- [Quick Reply Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/quick-reply-blueprint)
- [Scheduled Send Queue](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/scheduled-send-queue)
- [Search Results](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/search-results)
- [Sender Profile Rail](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/sender-profile-rail)
- [Shared Inbox Triage](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/shared-inbox-triage)
- [Signature Editor](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/signature-editor)
- [Snooze Email Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/snooze-email-blueprint)
- [Spam Quarantine](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/spam-quarantine)
- [Split Inbox](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/split-inbox)
- [Thread Collapsed](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/thread-collapsed)
- [Unsubscribe Manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/unsubscribe-manager)
- [Vacation Responder](https://www.shadcn-ui-blocks.com/blocks/application-pro/inbox-email/vacation-responder)
