Skip to main content

Overview

HuxCard provides a flexible container component for displaying content with optional headers, titles, and actions.

Component Variants

Basic Card

Simple card with title and content: Basic Card

Card with Subtitle

Card with additional subtitle text: Card with Subtitle

Card with Action

Card with action button in header: Card with Action

Interactive Card

Card with tap handling:

Nested Cards

Card containing other cards:

Basic Usage

With Actions

Properties

  • title - Card title text
  • subtitle - Optional subtitle text
  • action - Optional action widget (usually IconButton)
  • child - Main content widget
  • onTap - Tap handler for the entire card
Complete HuxCard documentation is coming soon. See the example app for more usage patterns.