Button marketing

Button marketing is used for actions in marketing experiences, such as forms.

v0.36.1AlphaNot reviewed for accessibility

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

NameTypeDefaultDescription
scheme
Symbol

:default

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

variant
Symbol

:default

One of :default or :large.

tag
Symbol

:button

One of :a or :button.

type
Symbol

:button

One of :button or :submit.

disabled
Boolean

false

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

system_arguments
Hash

N/A

Examples