# Components Card: Corner Ribbon Card

A card with a diagonal ribbon pinned to one corner for a short label. Use it to flag New, Sale, or Featured items in a product or listing grid.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/cards/corner-ribbon-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/corner-ribbon-card.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-cards-corner-ribbon-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-corner-ribbon-card.json"`.

## Depends on

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

## About this block

Corner Ribbon Card is a standard card with a diagonal banner pinned to its
top right corner. The ribbon carries a short label ("New Feature" in the
demo) and sits inside a clipping container so it never bleeds outside the
card boundary. Below it, the card has a header with a title and a one line
description, a content area for a short paragraph, and a footer row with
two buttons on opposite ends.

Every section is independent. You can update the ribbon label, rewrite the
header copy, swap out the body paragraph, or relabel the footer buttons
without affecting the others. The ribbon itself can be removed entirely if
you only need it on a subset of cards in a grid.

## When to use

This card fits any grid where individual items need a short status flag
without a separate badge component floating above the layout. In a
healthcare scheduling product it works well for a services list where one
option is newly available, a recent addition to a care plan, or a promoted
appointment slot. It is a better fit than a separate badge overlay because
the ribbon is clipped inside the card frame and never disrupts the grid
alignment around it.

A natural flow around it on a Components page:

**Before**

- [Badges](https://www.shadcn-ui-blocks.com/blocks/components/badges) to introduce the labeling convention
  before visitors reach a grid of flagged cards
- A short hero or section header to set context for the listing below

**After**

- [Border Highlight Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/border-highlight-card)
  to let users select a flagged card as their active choice
- [Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination) if the flagged items appear
  inside a longer browseable list

## What you can display

The ribbon label is the main decision. A few directions that work well:

- **Status flags.** Use short words like "New", "Sale", or "Limited" to
  surface time sensitive information without adding extra UI elements.
- **Plan or tier markers.** Label a card "Pro" or "Featured" to draw
  attention to a recommended option in a service or pricing grid.
- **Availability signals.** In a scheduling or booking context, mark a
  slot "Open" or "Next available" so the flag answers the reader's first
  question before they read the card body.

> Tip: keep the ribbon label to one or two words so the rotated text stays
> fully readable at the small size the corner allows.

## 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)
- [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)
- [Double Border Card](https://www.shadcn-ui-blocks.com/blocks/components/cards/double-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)
