SaasRock Logo

Buttons

Buttons

<ButtonPrimary onClick={() => alert("Clicked")}>Primary</ButtonPrimary>

Buttons - as Links

<ButtonPrimary to="/components/buttons">Primary</ButtonPrimary>

Buttons - Destructive

<ButtonPrimary destructive={true} onClick={() => alert("Clicked")}>
  Primary
</ButtonPrimary>