Skip to content

[Button] Variants hierarchy #607

@aweell

Description

@aweell

Story description

Add a table in the variants section describing the hierarchy of the different button variants and in which cases each of them should be used.

Variant Description
Primary For the principal call to action on the page. Primary buttons should only appear once per screen (not including the application header or in a modal dialog)
Secondary For less prominent actions; secondary buttons can be used in isolation or paired with a primary button when there are multiple calls to action
Text For the least pronounced actions; often used in conjunction with a primary button (e.g. cancel in a modal dialog)

Tasks

  • Update button README.md file with variants usage table

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions