State

readyNot reviewed for a11y
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.

Description

Use State for rendering the status of an item.

Arguments

NameRequiredDescription
title
String

title HTML attribute.

scheme
Symbol

Background color. One of :closed, :default, :green, :merged, :open, :purple, or :red.

tag
Symbol

HTML tag for element. One of :div or :span.

size
Symbol

One of :default or :small.

system_arguments