Skip to content

Card compound pattern #60

@mwarman

Description

@mwarman

Describe the story

Provide a clear description of the new feature or improvement to existing functionality.

Update the Card component to utilize the compound pattern.

The sub-components which are used to compose an implementation of a card, Header, Title, Subtitle, Content, Footer, may be made properties of the Card component.

Use the shadcn/ui Card component as a reference.

Acceptance criteria

Provide clear acceptance criteria to validate the story is complete.

GIVEN the Card component implements the compound pattern
WHEN an instance of Card is created
THEN the sub-components are internal to Card, i.e. not exported

Additional context

Add any other context about the story here.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions