Card
Primitive10 variantsComposable 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.
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.
Zero-Downtime Migrations in Financial Systems
Strategies for migrating live banking infrastructure without service interruptions or data loss.
Padding Scales
padding="xs"
padding="sm"
padding="md"
padding="lg"
padding="xl"
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
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 |
hoverable | boolean | false | Enables hover lift effect with enhanced shadow |