127 Components

Feature Card

Cards

Large rounded showcase card with an eyebrow badge, headline, concise copy, interactive media stage, and smooth spring hover lift.

Apple Silicon Architecture

Engineered for fluid 120Hz motion.

Every interaction responds with spring physics, hardware-accelerated transforms, and zero layout shift across light and dark appearances.

Spring Compositor
120 FPS · GPU Layer
Active
Frame Budget8.3ms
Spring Velocity420 N/m

Installation

Install directly into your project using the shadcn CLI or copy the source code manually.

Requires:framer-motionlucide-reactclsxtailwind-merge
$npx shadcn@latest add "https://boseui.site/r/feature-card.json"

Props

TypeScript props supported by <FeatureCard />.

8 props
PropTypeDefaultDescription
eyebrowstring"Apple Silicon Architecture"Small uppercase label displayed above the headline.
titlestring"Engineered for fluid 120Hz motion."Primary headline inside the feature card.
descriptionstring—Concise supporting paragraph below the headline.
ctaLabelstring"Explore Architecture"Text label for the call-to-action pill button.
onAction() => void—Callback fired when the CTA button is clicked.
mediaReact.ReactNode—Custom visual or media node rendered inside the media stage.
layout"vertical" | "horizontal""vertical"Controls whether text and media stack vertically or sit side-by-side.
classNamestring—Additional Tailwind CSS classes for the card.

Key Features

  • 28px rounded architectural container with spring-driven hover elevation (`y: -6`).
  • Supports both vertical and horizontal layouts with a dedicated media preview well.
  • Interactive default media telemetry bars that respond dynamically when the card is hovered.

Keyboard & Accessibility

  • Uses semantic `<article>` markup with high-contrast typography.
  • Action button includes visible keyboard focus rings and active press feedback.
  • Disables vertical lift animation when `prefers-reduced-motion` is enabled.