About this set
Five buttons whose icon moves in the direction of the action. Continue slides its arrow 5 pixels right, Download drops its arrow 3 pixels, Open docs nudges its external-link arrow up and to the right, and Refresh turns its circular arrow half a turn. The fifth is a round 44 pixel Next button with a chevron that fills dark on hover. The movement runs on hover and when the button gets keyboard focus, and uses a single transform on the SVG, so the label and button never shift. Use them for flow actions such as continuing a wizard, downloading a file, opening documentation in a new place or reloading data, where the motion reinforces what the button does. Icons are 17 pixel stroke SVGs drawn in currentColor, so they always match the label colour, including on hover. The white Open docs button and the round Next button have grey borders that reach 3:1 against the page, and every icon is hidden from screen readers. The Bootstrap version uses .btn with d-inline-flex, rounded-circle and colours set through –bs-btn-* variables; the Tailwind version uses group-hover and group-focus-visible.
What’s included
- Arrow, download, external link, refresh and chevron icons that move
- Movement on hover and on keyboard focus
- Icons drawn in currentColor, matching the label
- Round icon-only Next button with an aria-label
- Icon movement disabled under reduced motion
Accessibility
Four buttons are named by their visible text and the round one by aria-label="Next"; every SVG is aria-hidden. All are native buttons reachable with Tab, and focus draws a 2px indigo outline 3px outside the button. Under prefers-reduced-motion the icons stay still and colour changes happen without a transition.
Customise it
In plain CSS change the colours on .ab-next, .ab-down, .ab-out, .ab-spin and .ab-circle and the distance in each svg transform. In Bootstrap set --bs-btn-* colours on the .btn-arrow-* classes; in Tailwind edit the bg- and text- utilities and the group-hover:translate-* values.


















