close
Skip to content

Card: support more padding options #72175

@jameskoster

Description

@jameskoster

The size options on the Card component often produce unequal horizontal/padding padding values. For example the large size has 24px vertical padding and 32px horizontal padding.

It can sometimes be desirable to create cards with equal padding, or specify per-side padding values on subcomponents like Card.Header. Let's explore how to offer this functionality in a sustainable way (based on presets/tokens) while considering backwards compatibility.

cc @gigitux

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions