Variants and sizes

  • In a card: k-empty inside k-card k-card--flush, where the list would be. On the page: k-empty straight on paper.
  • Action: k-btn--accent when it is the screen's one highlighted action, as here; k-btn--tonal when another action on the screen already holds the accent.

States

  • The empty state has no states of its own; its button has rest, hover, pressed (it scales to 98%) and focus.
  • When the first item arrives, the list takes its place.

Do and don’t

Do

  • Use the status marks as the picture, never an illustration, a mascot or an emoji.

  • Name what is missing in the title and the outcome in the body: "Attach the first file and it shows up here."

  • Offer exactly one next step, labelled with a verb.

Don’t

  • Joke, blame or apologise, and don't use exclamation marks.

  • Show an empty state before you know the list is empty.

What you provide

  • The title, the body sentence, the action's label, icon name (attach_file) and handler, and where it sits: in a card or on the page.