About this set
Five buttons that pair or replace a label with an inline SVG icon. Continue has a trailing arrow that slides 4 pixels right on hover, and Download has a leading arrow that drops 3 pixels. The round Settings button tilts 12 degrees, and the square floating action button, Add, lifts 3 pixels and rotates a quarter turn. The last one is a like toggle: a pill with a heart and a counter that fills red when pressed and moves the count up or down by one. Use the labelled buttons for primary and secondary actions, the round and floating ones in toolbars and on mobile screens, and the like toggle anywhere users react to content. Icons are stroke SVGs that take currentColor, so they follow the button’s text colour, and all of them are hidden from assistive technology. The like toggle is the only part that uses JavaScript: a few lines flip aria-pressed and update the number, and CSS styles the pressed state from that attribute. The outline borders reach 3:1 against the page. The Bootstrap version uses d-inline-flex, rounded-circle, rounded-pill and visually-hidden.
What’s included
- Arrow, download, settings, add and heart icons as inline SVG
- Icon-only buttons named with aria-label
- Like toggle with aria-pressed and a live count
- Outline borders darkened to 3:1 against the page
- Hover movements and transitions off under reduced motion
Accessibility
The icon-only buttons are named Settings and Add through aria-label, every SVG is aria-hidden, and the like button's name is Like plus its count, with aria-pressed reporting whether it is on. All five are native buttons reachable with Tab and operated with Enter or Space, and focus draws a 2px dark outline. Under prefers-reduced-motion the icons and buttons no longer move or animate.
Customise it
In plain CSS change the colours on .ib-lead, .ib-dl, .ib-round, .ib-fab and .ib-like, and the SVG size in .ib svg. In Bootstrap set the --bs-btn-* colour variables on the .btn-ic-* classes; in Tailwind edit the bg-, border-, text- and aria-pressed: utilities.


















