Button Set

Code only
GitHub

Provides consistent layout and spacing for a set of buttons.

Use a button set to ensure a consistent layout when using multiple buttons in a single row.

Usage

Usage documentation for this component is coming soon. In the meantime, help us improve this documentation by letting us know how your team is using it in #team-design-systems (internal only).

How to use this component

The most basic invocation doesn't require any arguments to be passed.

Cancel
<Hds::ButtonSet>
  <Hds::Button @text="Submit" type="submit" />
  <Hds::Button @text="Cancel" @color="secondary" @href="https://hashicorp.com" />
</Hds::ButtonSet>

Component API

Name
…attributes
Description
...attributes spreading is supported on this component.

Showcase

Cancel