Binhlaig logoBinhlaig UI
Binhlaig UI Component

Card

Cards group related content and actions into a clear, flexible container.

Installation

Install Card in your project.

Terminal
npx binhlaig-ui@latest add card

For project setup, installer selection, dependencies, and advanced installation instructions, see the Installation Guide.

View Installation Guide →Update or Overwrite →

Import

Import the Card components from your UI components directory.

TypeScript
import {
  Card,
  CardAction,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/components/ui/card";

Usage

Use Card components to group related content.

Binhlaig UI

Reusable components for React and Next.js projects.

Build clean and modern user interfaces quickly.

Create project

Start a new project using Binhlaig UI.

Your project will include reusable components and Tailwind CSS styles.

Card Action

Use CardAction for actions aligned with the card heading.

Team members

Manage people with access to this project.

12 team members

Workspace access enabled

Login Card

Cards can contain forms, inputs and actions.

Welcome back

Enter your account details to continue.

Product Card

Combine images, content and actions in a product card.

Wireless Headphones

High-quality sound with active noise cancellation.

$129
4.8

Notification Card

Display alerts, notifications and status information.

Notifications

You have three unread notifications.

Deployment successful

Your project was deployed successfully.

Horizontal Card

Use a horizontal layout for compact content and actions.

Starter components

Install reusable buttons, cards, inputs and tabs in your Next.js project.

Custom Style

Customize Card components using Tailwind CSS classes.

Custom card

Use className to customize the card style.

Binhlaig UI components support Tailwind CSS utility classes.

API Reference

Components available in the Binhlaig UI Card.

ComponentElementDescription
CarddivThe main card container.
CardHeaderdivContains the card title, description and action.
CardTitledivDisplays the primary card heading.
CardDescriptiondivDisplays supporting text below the title.
CardActiondivDisplays an action aligned with the card heading.
CardContentdivContains the main card content.
CardFooterdivContains actions or supporting content at the bottom.