Data Display
⚛️react
Official
Simple

Card

A flexible container component for grouping related content. Includes header, content, and footer sections with customizable styling.

98.0k downloads1.9k starsWCAG AAv1.8.0Updated 3/15/2024
Improve

Preview

Installation

npm install @uicomponents/card

Usage

Props

PropTypeDefaultDescription

Accessibility

WCAG Level

AA

Keyboard Support

Yes

Screen Reader

Yes

Keyboard Navigation

  • Tab to focus
  • Enter/Space to activate

Screen Reader Notes

The Card component announces its role and state to screen readers.

Focus Management

Focus is managed according to WAI-ARIA guidelines.

Customization

CSS Variables

VariableDefaultDescription

Changelog

v1.8.0

March 15, 2024
  • Feature
    Latest release

Community

Contributors

0 discussions
0 open issues
0 pull requests

Ready to use Card?

Copy the code above or explore more components in our library.

Explore More