Design System / nilshendriks.com

Button - Astro

Component name
Button
Framework
Astro
Requirements
  • element: button, a, span
  • type: button, submit, reset, ?
  • attributes: href, title
  • text


Elements

Button

A

Button text

Span

Button text

Variants

Primary

Button text

On dark - in light mode, doesnt change background color in dark mode

On Primary

Disabled

Disabled button

Icons

Left

Right

Icon not in circle

Icon only

Icon only, circle icon

Icon only, X


Group