Containers · 7 parts · 4 states · Intermediate

Card

Groups content and actions about a single subject in one container.

01Anatomy

Article · 6 min
How to name your layers
A naming system your team can still read in six months.
Read

7 parts. Select a number or a name to see what each part does.

01 · Container

The surface that groups everything about one subject. Border, fill or shadow separate it from the page.

Required
Yes

02 · Media

An image, video or illustration that previews the content.

Required
No
When
Optional. Keep the same ratio across a grid.

03 · Metadata

Small facts: type, date, reading time, author.

Required
No

04 · Title

Says what the card is about. Usually a heading, often the main link.

Required
Yes

05 · Supporting text

A short summary. Two or three lines, then it stops.

Required
No

06 · Actions

Buttons or links about this item: read, save, share.

Required
No
When
Optional. Avoid them when the whole card is clickable.

07 · Primary link area

When the whole card opens the item: one real link, on the title, stretched over the card.

Required
Only in some cases
When
Only for clickable cards.
Recommended
Make the whole card clickable through one link only, the title: otherwise everything is read out as one long link.

Shares its area with Container.

02Structure

  • Cardcomponent setauto layoutverticalfillhug
  • Mediaframeimage fillboolean
  • Contentauto layoutverticalgap 8padding 16
  • Metatextboolean
  • Titletext
  • Bodytextbooleanmax 3 lines
  • Actionsauto layouthorizontalboolean
  • Buttoninstance
  • Icon Buttoninstance
Structure
PropertyTypeValues
LayoutVariantVerticalHorizontal
StateVariantDefaultHoverFocusSelected
MediaBooleantruefalse
ActionsBooleantruefalse
TitleText“How to name your layers”

Many teams build the content area as a slot, so one card component serves many layouts.

03States

DefaultAt rest.
HoverClickable cards only: the surface reacts as a whole.
FocusThe ring goes around the whole card when its link has focus.
SelectedSelectable cards only, like a plan or a file.

A static card has no interaction states. These apply to clickable or selectable cards.

04Variants

VerticalMedia on top, text below.
HorizontalMedia at the side: good for lists of results.
ClickableThe whole card opens one destination. No other actions inside.

Elevated, outlined and filled are visual styles, not structure.

05Responsive behaviour

Desktop

A grid of three or four columns. Horizontal cards keep the image at the side.

Mobile

One column. Horizontal cards stack, or keep a small thumbnail.

There is no single correct anatomy: names, variants and properties differ from one design system to another. These are common structural models distilled from established design systems and accessibility guidance.

Fuori Frame

Proven methods for designing interfaces with AI. Every two weeks, in Italian.

Subscribe