Skip to content
AI Building

Build an Atrium app with AI

One minimised file with everything an AI tool needs: how to work, the hard rules, the full app contract and the design system. Upload it to any LLM, then describe your app.

ATRIUM-AI-BUILD.mdMarkdown
  1. Upload the file to ChatGPT, Claude, Cursor or any AI tool (or paste its contents).
  2. Describe the app you want in plain English.
  3. Let the AI ask you for the API key when it needs one.
View the file
Auto

Component · Data display

Status tag

View .md

Stable

Tags are short status labels: Paid, Overdue, Draft. They let managers scan a list for what needs attention. Always use a word, not colour alone, so the status is clear to everyone.

DraftScheduledPaidDue soonOverdue

Specifications

Anatomy

Paid
1) Label
font-size: var(--at-text-xs) /* 12px */
font-weight: var(--at-weight-bold)
line-height: 1.4
color: status colour
2) Container
border: 1px solid currentColor
border-radius: var(--at-radius-1) /* 6px */
background: status -bg token

Size and spacing

Scheduled
Padding
block: var(--at-space-1) /* 2px */
inline: var(--at-space-3) /* 8px */
Spacing
between tags: use .at-inline (8px gap)

Neutral

No particular status: Draft, Archived, Not started.

Example

Draft

Information

Something planned or in progress: Scheduled, Syncing.

Example

Scheduled

Success

Done and fine: Paid, Active, Connected.

Example

Paid

Warning

Needs attention soon: Due soon, Expiring.

Example

Due soon

Danger

Needs attention now: Overdue, Failed.

Example

Overdue

Discovery

Something new: New, Beta, AI drafted.

Example

New

Bold

Emphasis: High

Add at-tag--bold for a solid fill. Use it for the one status that most needs attention in a view, such as Overdue in a list of otherwise subtle tags.

Example

OverdueDue todayNew

Accent

Emphasis: Low

Categories with no status meaning, such as property types. Six hues: blue, teal, green, orange, purple and magenta. If swapping two hues would change what the tag means, use a status tag instead.

Example

HMOStudioFlatStudent

Usage

When to use

  • Showing the status of a record in a table, summary list or card.

When not to use

  • Actions: use a button.
  • Long text: tags are one or two words.
  • More than one bold tag per view: bold only works when it is rare.

Content

  • One or two words, sentence case: "Due soon", not "DUE SOON".
  • Use the same word for the same status on every screen.

Do and don't

OverduePaid
DoShort words that carry the meaning on their own.
!PAYMENT RECEIVED IN FULL
Don'tA symbol only, and a long label in capitals.

Do

  • Use one or two words.

Don't

  • Rely on colour alone: the word must say the status.

Implementation

HTML

<div class="at-inline">
  <span class="at-tag">Draft</span>
  <span class="at-tag at-tag--info">Scheduled</span>
  <span class="at-tag at-tag--success">Paid</span>
  <span class="at-tag at-tag--warning">Due soon</span>
  <span class="at-tag at-tag--danger">Overdue</span>
</div>

Classes

ClassWhat it does
at-tagNeutral
at-tag--infoInformation
at-tag--successGood
at-tag--warningNeeds attention
at-tag--dangerProblem
at-tag--discoveryNew, beta, AI
at-tag--boldSolid fill, combine with a status
at-tag--blue / --teal / --green / --orange / --purple / --magentaAccent hues, no meaning

Tokens used

--at-text-subtle, --at-text-info, --at-bg-info-subtle, --at-text-success, --at-bg-success-subtle, --at-text-warning, --at-bg-warning-subtle, --at-text-danger, --at-bg-danger-subtle, --at-text-discovery, --at-bg-discovery-subtle, --at-text-inverse, --at-bg-danger-bold, --at-bg-accent-blue, --at-text-accent-blue


Accessibility

  • The text carries the meaning, so colour-blind users get the same information.

Related