Argent

Plate

One tile of a salver. Everything inside takes colours that suit its metal, and controls take the opposite metal.

Base
Contrast
Accent
! Needs fixing
import { Plate } from '@rajatweb/argent'

<Plate label="Heart rate" tone="contrast" status="error">
  <h3>Heart rate</h3>
  <p role="status">Strap disconnected</p>
</Plate>

Props

PropTypeDefaultWhat it does
label requiredstringAccessible name of the plate.
size'1x1' | '2x1' | '2x2''1x1'
status'done' | 'error' | 'idle''idle'
tone'base' | 'accent' | 'contrast''base'

Accessibility

  • On the web each plate is a named region.
  • Status is drawn with an edge and a line pattern. Say it in words too.

Do

  • Use one accent plate per salver.

Don’t

  • Rely on the status edge alone.