import React from 'react'; export const Buttons = () => { return (

Buttons

Each page is to have only one primary button, with secondary and tertiary buttons used in all other cases. Each tab or card on page with a primary button should have only one secondary button followed by tertiary buttons. Note: the secondary buttons do not use the Bootstrap btn-secondary class.

Destructive actions

A destructive action is to use the tertiary destructive button which triggers a confirmation. The primary destructive button is only to be used for triggering a destroy method on the API.

Sizes

All buttons directly on a page are to be the standard size. Buttons nested within a tab or adjacent to the page title are to be the small size. Only the button used for submitting a login is to be large.

Input group buttons

The btn-outline-secondary class is to only be used for input groups where the button triggers a search or filter.

); };