CardA grouping surface around a single child. Padding defaults to Space.S4; the kind decides whether it is elevated, outlined or filled.
using eQuantic.UI.Components;
new Card(new Column(gap: Space.S2)
new Text("Balance", TypeRole.Label),
new Text("R$ 12.480,00", TypeRole.Display),
Kind = CardKind.Outlined,
Prop
Type
Default
Description
Child
VisualNode
—
The card's content — compose a Column for header/body/footer.
Kind
CardKind
Elevated
Elevated, Outlined or Filled. Pick one per surface level and hold it.
Padding
EdgeInsets
EdgeInsets.All(Space.S4)
Inner padding.
Width
SizeValue
Auto
Auto, Fill, or a fixed size.
Pressed
Only when wrapped in a Pressable
•
A plain card is a group. If the whole card is pressable, it must be a single target with one accessible name — never with other controls inside.
•
Grouping content that belongs together and moves as a unit.
•
A card around every element — the page turns to noise.
NOTEEvery dimension resolves through Sizing.*(SizeVariant) and the token scales — never a literal. Source: src/eQuantic.UI.Components/Card.cs.