Argent

Components

21 components. All but ThemeToggle are on both web and React Native.

Metal

  • SalverA grid of metal plates. Light follows the pointer across them, and a gold ring moves to the one in use.
  • PlateOne tile of a salver. Everything inside takes colours that suit its metal, and controls take the opposite metal.
  • TimerRingA line that runs round the inside of a plate and empties as time runs out.
  • HallmarkYour initials, the sign for the metal and its fineness, taken from the ArgentProvider.

Actions

Forms

  • InputOne line of text.
  • TextareaSeveral lines of text.
  • CheckboxA choice that can be on or off.
  • RadioGroupOne choice from a few.
  • SwitchTurns a setting on or off straight away.
  • SelectOne choice from a longer list. On React Native it opens as a sheet from the bottom.

Overlays

  • DialogA sheet of metal that asks for attention before anything else.
  • PopoverExtra content beside its trigger. Flips when there is no room.
  • TooltipA short hint. Opens on hover and focus on the web, and on a long press on React Native.
  • ToastA brief message that does not interrupt.

Display

  • TabsSwitches between views, with a slug that slides.
  • AccordionSections that open and close.
  • BadgeA small mark for a status or label.

Signature

  • GlowButtonA metal button with a gold glow, for the one thing you want pressed.
  • ThemeToggleSwitches between dark and light with a circular reveal. Web only.