ButtonMarketing

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

Description

Use ButtonMarketing for actions (e.g. in forms). Use links for destinations, or moving from one page to another.

Accessibility

Setting the tag argument to :a requires you to pass in an href attribute.

Arguments

NameRequiredDescription
scheme
Symbol

One of :default, :outline, :primary, or :transparent.

variant
Symbol

One of :default or :large.

tag
Symbol

One of :a or :button.

type
Symbol

One of :button or :submit.

disabled
Boolean

Whether or not the button is disabled. If true, this option forces tag: to :button.

system_arguments