Award

PreviousNext

A vertically stacked set of interactive headings that each reveal a section of content.

award-default

award-certificate

award-stamp

award-badge

Installation

pnpm dlx shadcn@latest add https://ui.dalim.in/r/styles/default/award.json

Usage

import { Awards } from "@/components/ui/award"
<Awards
  variant="award"
  title="WINNER"
  subtitle="A Design Award & Competetion"
  recipient="Ali Imam"
  date="June 2025"
  level="gold"
/>

API Reference

Awards

A flexible award component that supports multiple visual variants (stamp, award, certificate, badge) with customizable details.

PropTypeDefaultDescription
variant"stamp" | "award" | "certificate" | "badge""award"Determines the style of the award display.
titlestringMain title of the award.
subtitlestringSubtitle or secondary text.
descriptionstringAdditional descriptive text. (Currently not used in all variants)
datestringDate of the award or certificate.
recipientstringName of the award recipient.
level"bronze" | "silver" | "gold" | "platinum""gold"Award level (used in award variant with gradient styling).
classNamestringTailwind/CSS classes for extra styling.
showIconbooleantrueWhether to show an icon in some variants (e.g., stamp).
customIconReact.ReactNodeCustom React node to replace the default icon.