Skip to content

Button Library · Basic

Destructive

For deleting: red asks for care.

Use in Generator

States

  • Default

  • Hover

  • Active

  • Focus

Code

destructive.html

<button class="btn-destructive" type="button">
  <svg class="btn-destructive__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
    <path d="M4 7h16"></path>
    <path d="M9 7V4h6v3"></path>
    <path d="M6 7l1 13h10l1-13"></path>
  </svg>
  <span>Delete</span>
</button>

More in Basic