DocsComponentsCard

Card

Primitive10 variants

Composable card system with 10 visual variants, 6 padding scales, hover lift effects, and sub-components for header, title, description, content, and footer. Builds anything from blog posts to pricing tables.

#ff7b72">import {
FqCard, FqCardContent, FqCardHeader,
FqCardTitle, FqCardDescription, FqCardFooter
} #ff7b72">from '@/components/harlowui/primitives/fq-card'
#ff7b72">export default function App() {
#ff7b72">return (
<#7ee787">FqCard variant="elevated" hoverable>
<#7ee787">FqCardHeader>
<#7ee787">FqCardTitle>Project Alpha</FqCardTitle>
<#7ee787">FqCardDescription>Next-gen analytics platform</FqCardDescription>
</#7ee787">FqCardHeader>
<#7ee787">FqCardContent>
<#7ee787">p>Card body content goes here.</p>
</#7ee787">FqCardContent>
<#7ee787">FqCardFooter>
<#7ee787">button>View Details</button>
</#7ee787">FqCardFooter>
</#7ee787">FqCard>
)
}

Variants

10 semantic variants for different contexts -- from subtle ghost cards to branded highlights.

default

variant="default"

elevated

variant="elevated"

flat

variant="flat"

glass

variant="glass"

brand

variant="brand"

ghost

variant="ghost"

outlined

variant="outlined"

success

variant="success"

destructive

variant="destructive"

warning

variant="warning"

Hover & Focus States

Cards with hoverable lift, combined with focus-visible ring for keyboard navigation.

Subtle Lift

Default card + hover

Shadow Enhance

Elevated + hover

Brand Hover

Brand + hover

Real-World Card Patterns

Production-grade card compositions for every vertical -- blog, pricing, product, profiles, and dashboards.

Featured
Design Systems/8 min read

Building Scalable Design Tokens for Multi-Brand Applications

How we architected a token system that powers 4 brands with a single codebase, from color to typography to spacing.

Sarah Mitchell
142 28
Engineering/12 min read

Zero-Downtime Migrations in Financial Systems

Strategies for migrating live banking infrastructure without service interruptions or data loss.

James Donovan
89 15

Padding Scales

padding="xs"

padding="sm"

padding="md"

padding="lg"

padding="xl"

API Reference

PropTypeDefaultDescription
variant"default" | "elevated" | "flat" | "glass" | "brand" | "ghost" | "outlined" | "success" | "destructive" | "warning""default"Visual variant
padding"none" | "xs" | "sm" | "md" | "lg" | "xl""lg"Internal padding scale
hoverablebooleanfalseEnables hover lift effect with enhanced shadow