Flexible content containers for organizing and displaying information.

Same Height Cards

Use .pa-row--same-height to make all cards in a row match the height of the tallest card.

Short Card

This card has minimal content.

Tall Card

This card has much more content than the others, making it naturally taller.

All sibling cards will stretch to match this height thanks to the .pa-row--same-height modifier.

This is useful for dashboard layouts where visual consistency matters.

Medium Card

This card also stretches to match the tallest card in the row.

Basic Cards

Simple Card

This is a basic card with just a body. Perfect for simple content display.

Card with Header

This card includes a header section for titles and actions.

Card with Footer

This card includes a footer section for actions or meta information.

Complete Card

A complete card with header, body, and footer sections.

Card Header Three-Part Layout

Card headers support a flexible three-part layout: Title (fixed), Description (flexible, truncates), and Actions (fixed). Elements are separated by automatic gaps.

User Management

Manage user accounts, permissions, and access controls for your organization

Full three-part layout: title stays fixed, description fills available space and truncates with ellipsis, action button stays fixed on the right.

Reports

Generate and download analytics reports for your dashboard metrics

Multiple buttons can be grouped with .pa-btn-group. The group stays fixed and won't shrink.

Settings

Configure application preferences and system settings

Title + description without actions. The description expands to fill the remaining space.

Notifications

Title + actions without description. The gap keeps them separated, and justify-content: space-between pushes actions to the right.

Long Description Truncation

When descriptions are too long, they automatically truncate with ellipsis (...) to maintain a single-line header.

Analytics

This is a very long description that explains the analytics dashboard features including real-time metrics, historical data analysis, custom reports, and export functionality for enterprise users

The description truncates with ellipsis when it exceeds the available space. Hover or resize to see the effect.

Inventory

Track stock levels, manage suppliers, process purchase orders, and monitor warehouse capacity across multiple locations

Even with multiple action buttons, the description gracefully truncates to prevent overflow.

With Tooltip for Full Description

Add .pa-tooltip .pa-tooltip--multiline to the description paragraph to show the full text on hover.

Dashboard

View real-time metrics, KPIs, and performance indicators for your organization. Includes customizable widgets, drill-down reports, and automated alerts.

Hover over the truncated description to see the full text in a multiline tooltip.

Audit Log

Complete history of system changes, user actions, and security events. Filter by date, user, action type, or resource. Export to CSV for compliance reporting.

The tooltip provides full context while keeping the header compact and consistent.

Wrap Modifier

Use .pa-card__header--wrap when you need the description to wrap onto its own line (useful for mobile or when full description visibility is important).

Project Overview

This card uses the wrap modifier so the description appears on its own line below the title and actions. This is useful when the full description text needs to be visible.

With --wrap, the description moves to a new line (via flex-basis: 100% and order: 1) and can display multiple lines.

Documentation

Complete API reference and integration guides for developers. Includes code samples, authentication flows, and best practices for building with our platform.

The wrap modifier is ideal for mobile layouts or when description content is essential to display in full.

Colored Cards

Primary Card

Card with primary color theme.

Success Card

Card with success color theme.

Warning Card

Card with warning color theme.

Danger Card

Card with danger color theme.

Theme Color Cards

Cards using theme-specific color slots (pa-card--color-1 through pa-card--color-9). Text color automatically adjusts for readability based on background brightness.

Color 1 Card

Uses --pa-color-1 with automatic contrast text color.

Color 2 Card

Uses --pa-color-2 with automatic contrast text color.

Color 3 Card

Uses --pa-color-3 with automatic contrast text color.

Ghost Card

Invisible container with no background, border, or shadow. Useful as a layout wrapper that maintains card spacing without visual chrome.

Ghost Card

No background, no border, no shadow. Just layout structure.

Normal Card

Standard card for comparison.

Ghost card with body only โ€” no header or footer needed.

Underlined Headers

Add pa-card__header--underlined for an accent border under the heading. Combine with color modifiers for semantic or theme colors.

Default Accent

Uses the theme's accent color.

Success

Green underline for positive context.

Warning

Yellow underline for caution.

Danger

Red underline for critical items.

Info

Blue underline for informational.

Color 1

Theme color slot 1.

Color 3

Theme color slot 3.

Ghost + Underlined

Works with ghost cards too.

Statistics Cards

๐Ÿ‘ฅ
1,234
Total Users
๐Ÿ“Š
$45,678
Revenue
๐Ÿ“ฆ
567
Orders
๐Ÿ“ˆ
+12%
Growth

Interactive Cards

Collapsible Card

This card can be collapsed and expanded. Click the minus/plus button in the header.

Content that can be hidden to save space when not needed.

Card with Tabs

Overview content goes here. This is the default active tab.

Detailed information is displayed in this tab.

Settings and configuration options would be shown here.

Advanced Card Features

๐Ÿ“Š

Analytics Dashboard Overview

This card demonstrates icon in title with tool buttons. The title will truncate with ellipsis when it's too long.

๐Ÿ”’

This is a Very Long Card Title That Should Be Truncated With Ellipsis When It Exceeds Available Space

Hover over the truncated title to see the full text in a multiline tooltip. Uses .pa-tooltip--multiline on .pa-card__title-text.

๐Ÿ’ผ

Project Management

Different combinations of icons and tool button styles work well together.

๐Ÿ“ˆ

Revenue Metrics and KPI Tracking System

Even with fewer tools, the title still truncates appropriately to maintain layout.

Data Display Cards

Recent Orders

Order ID Customer Amount Status
#1234 John Doe $299.99 Completed
#1235 Jane Smith $149.50 Pending
#1236 Bob Johnson $89.99 Processing

Activity Feed

๐Ÿ‘ค
User Registration
New user John Doe registered
2 minutes ago
๐Ÿ’ฐ
Payment Received
$299.99 from Order #1234
5 minutes ago
๐Ÿ“ฆ
Order Shipped
Order #1233 has been shipped
10 minutes ago

CSS Classes Reference

Card Base & Sections

  • pa-card - Base card container
  • pa-card__header - Card header with title/tools
  • pa-card__body - Card body content area
  • pa-card__body--no-padding - Remove body padding (for tables)
  • pa-card__footer - Card footer with actions/meta

Header Elements

  • pa-card__header - Flexbox header with gap between children
  • pa-card__header--wrap - Allow description to wrap to new line
  • h1-h6 (direct child) - Title, fixed width, won't shrink
  • p (direct child) - Description, flexible, truncates with ellipsis
  • pa-card__title - Title container with icon support
  • pa-card__title-icon - Icon before title
  • pa-card__title-text - Title text (auto-truncates)
  • pa-card__tools - Tool buttons container (right side)
  • pa-card__actions - Actions container, fixed width
  • pa-btn-group - Button group in header, fixed width

Footer Elements

  • pa-card__actions - Action buttons container
  • pa-card__meta - Meta text (timestamps, etc.)

Color Variants

  • pa-card--primary - Primary color header
  • pa-card--success - Success color header
  • pa-card--warning - Warning color header
  • pa-card--danger - Danger color header
  • pa-card--color-1 through pa-card--color-9 - Theme color slots with automatic contrast text
  • pa-card--stat - Compact padding for stat cards
  • pa-card--ghost - Invisible container (no background, border, or shadow)

Card Tabs

  • pa-card__tabs - Tab navigation container
  • pa-card__tabs--inline - Inline tabs in header (same height as regular header)
  • pa-card__tab - Individual tab button
  • pa-card__tab--active - Active tab state
  • pa-card__tab-content - Tab content panel
  • pa-card__tab-content--active - Active content panel

Section Helpers

  • pa-section - Page section with margin
  • pa-section-title - Standalone section title with accent border
Type to search or use /p for products, /o for orders, /u for users, /i for invoices

Settings

Body text size. All elements scale proportionally.
๐Ÿ‘ค

John Doe

Administrator
  • ๐Ÿ“Š Dashboard
  • ๐Ÿ“ Forms
  • ๐Ÿ“‹ Tables
  • ๐Ÿ“Š Data Grid