Introducing PrimeReact v11-alpha 🎉Discover Now
styledPanel

Card

Card is a flexible container component.

Pro Subscription
Everything you need to scale your workflow

Get unlimited access to all features, priority support, and advanced analytics to help your team grow faster.

preview

Usage#

import { Card } from '@primereact/ui/card';
<Card.Root>
    <Card.Body>
        <Card.Caption>
            <Card.Title />
            <Card.Subtitle />
        </Card.Caption>
        <Card.Content />
        <Card.Footer />
    </Card.Body>
</Card.Root>

Examples#

Basic#

A container with a header, body, and footer for structured content.

Starter Plan
For personal projects

Includes essential features, basic analytics and access to community support.

basic-demo

With Form#

Use Card, Card.Body, Card.Caption, Card.Title, Card.Subtitle, Card.Content, Card.Footer, to create a simple card.

Welcome back
Sign in with your email to continue.
with-form-demo

Advanced#

Use Card.Header to place an image, avatar or other content in the header.

user header
Sakura Fresh Market
DailyPremium

Sakura Fresh Market is your go-to store for fresh local produce, Japanese snacks, and daily essentials — all in one place!

4.6 (200+ reviews)
Tokyo, Shibuya-ku
advanced-demo

API#

Sub-Components#

See Primitive API for CardRoot, CardHeader, CardBody, CardCaption, CardTitle, CardSubtitle, CardContent, and CardFooter component documentation.

Hooks#

See Headless API for useCard hook documentation.

Accessibility#

See Card Primitive for WAI-ARIA compliance details and keyboard support.