# Components Card: Double Border Card

A card wrapped in two stacked outlines for a framed, formal look. Use it for certificates, awards, or quotes that deserve emphasis on the page.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/cards/double-border-card
- Collection: [Components](https://www.shadcn-ui-blocks.com/blocks/components), Free tier
- Group: [Cards](https://www.shadcn-ui-blocks.com/blocks/components/cards)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/components/cards/double-border-card.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-cards-double-border-card
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/components-cards-double-border-card.json"`.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: button, card
- Installs to: `@/components/blocks/components/cards/double-border-card`

## About this block

Double Border Card wraps a standard card in two concentric outlines. An
outer ring sits at the full container edge, a second ring insets a few
pixels inside it, and the card body lives at the center. The card carries
a title, a short description, a paragraph of body text, and a footer row
with Cancel and Deploy buttons.

All of the copy inside is independent: the title, description, body text,
and button labels can each be changed without affecting the double border
frame. The footer layout can be flipped to a single action or a different
button pairing. The frame itself scales with the card, so you can widen or
narrow the container to fit your column width.

## When to use

Reach for this card when you need a single focused prompt to stand out on
a page without resorting to color or shadow. In a project management
workspace it suits a creation or confirmation step where the framed look
signals that the user is about to commit to something. It works better
than a plain card when the action deserves a moment of ceremony, and
better than an animated border when you want that weight without motion.

A natural flow around it on a Components page:

**Before**

- A [Corner Ribbon Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/corner-ribbon-card) to
  flag a recommended starting template before the user reaches the
  creation step
- A short intro or section heading to set the task context

**After**

- A [Status Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/status-card) to confirm the
  result once the action completes
- The [Badges](https://www.shadcn-ui-blocks.com/blocks/components/badges) group for inline state labels
  on the newly created item

## What you can display

The frame reads as deliberate and formal, so it suits content that
benefits from that register:

- **Project or workspace setup.** A short form or summary card where the
  double border marks the creation step as a checkpoint before deploying.
- **Terms or policy acceptance.** Replace the body text with a key clause
  and the footer buttons with Agree and Decline to give the prompt weight.
- **Award or certificate callout.** Swap the copy for a recipient name
  and achievement description; the nested outlines carry a certificate
  feel without extra decoration.

> Tip: keep the body text to two or three short sentences so the card
> stays compact and the border frame remains the visual focus.

## More in Components Cards

- [Border Accent Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/border-accent-card)
- [Border Animation Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/border-animation-card)
- [Border Gradient Animation Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/border-gradient-animation-card)
- [Border Highlight Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/border-highlight-card)
- [Corner Ribbon Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/corner-ribbon-card)
- [Cutout Border Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/cutout-border-card)
- [Dashed Border Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/dashed-border-card)
- [Expandable Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/expandable-card)
- [Gradient Border Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/gradient-border-card)
- [Hover Effect Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/hover-effect-card)
- [Hover Reveal Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/hover-reveal-card)
- [Icon Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/icon-card)
- [Magnetic Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/magnetic-card)
- [Neon Border Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/neon-border-card)
- [Perspective Hover Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/perspective-hover-card)
- [Progress Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/progress-card)
- [Pulse Border Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/pulse-border-card)
- [Shimmer Effect Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/shimmer-effect-card)
- [Stacked Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/stacked-card)
- [Status Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/status-card)
- [Tilt Effect Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/tilt-effect-card)
