GitHub

Showcase Card

Block
Card for portfolio, venture, or partner showcase with logo, metadata, and actions

Basic Usage

Loading...

Installation

pnpm add @corew500/ui

Usage

import { ShowcaseCard } from "@corew500/ui/blocks/showcase-card"

<ShowcaseCard>Content</ShowcaseCard>

API Reference

Props

PropTypeDefaultDescription
title*stringCard title (required)
subtitlestringShort subtitle or tagline
descriptionstringDescription text (line-clamped to 3 lines)
logoShowcaseCardLogoLogo image configuration. Use `logoSlot` for framework-specific images.
logoSlotenumCustom logo slot for framework-specific images (e.g., Next.js Image). Takes precedence over `logo`.
topBadgesShowcaseCardBadge[]Badges displayed at the top of the card (e.g., Featured, Category)
metadataShowcaseCardMetadata[]Key-value metadata displayed as a dot-separated row
tagGroupsShowcaseCardTagGroup[]Labelled groups of tag badges (e.g., Products, Certifications)
highlightShowcaseCardBadgeSingle highlight badge (e.g., metrics, achievement)
actionsShowcaseCardAction[]Action buttons displayed at the bottom of the card
featuredenumfalseWhether this item is featured (adds ring styling)
layoutenumvertical

Accessibility

Additional

  • - Card structure uses semantic heading hierarchy (CardTitle)
  • Logo images require alt text via `logo.alt` or in `logoSlot`
  • Action buttons have accessible labels
  • Badge groups use semantic HTML (label + list)

Localization

Translatable Content

  • - All text props should be pre-translated
  • Badge text, tag group labels, metadata labels/values all customizable

Related

Related Components