Skip to content

Card

Groups related information, images, and action buttons into a bordered container, creating clear visual sections on the page.

6.5 KB
•
Updated on August 21, 2026

Installation

Bash

Usage

Code
Code

Anatomy

Code

Features

CardFrame with header action

Use CardFrame when you need a framed layout with an action button in the header (e.g. "Add", "Connect"):

Code

API Reference

Card Props

CardHeader Props

Header section container. Supports the render prop.

CardTitle Props

Title text for the card. Supports the render prop.

CardDescription Props

Description text for the card. Supports the render prop.

CardAction Props

Container for action buttons in the header. Automatically positions to the right. Supports the render prop.

CardPanel Props

Main content area of the card. Also exported as CardContent. Supports the render prop.

CardFooter Props

Footer section for the card. Supports the render prop.

CardFrame Props

Root container for the framed card layout. Supports the render prop.

CardFrameHeader Props

Header section for the frame. Contains title, description, and optionally CardFrameAction. Supports the render prop.

CardFrameTitle Props

Title text for the frame. Supports the render prop.

CardFrameDescription Props

Description text for the frame. Supports the render prop.

CardFrameAction Props

Container for action buttons in the header. Positioned in the top-right via CSS grid. Supports the render prop.

CardFrameFooter Props

Footer section for the frame. Supports the render prop.

Examples

Authentication card with actions
Authentication card with separators
Framed card with header
Framed card with no rounded bottom
CardFrame with header action