Button
Buttons trigger an immediate action, which can continue within the current page, a new page or modal.
When to use
primarybuttons are for the most important action on a page.secondarybuttons are for other page actions without priority.- Use
tertiarybuttons alongside secondary or primary buttons for tasks that are not a call to action. destructivebuttons are used to confirm important actions that cannot be undone.disabledstate is used when actions are not available.
Usage
ts
import { Button } from '@youcan/alto';1
vue
<Button> Default button </Button>1