Arrow Path Draw
An arrow stroke draws itself in sequence to point visitors toward the linked content.
An arrow stroke draws itself in sequence to point visitors toward the linked content.
Live Demo
Hover over the element or use Tab to focus.
Source Code
Copy the HTML, CSS or JavaScript you need for your project.
<a href="#next" class="tbx-1079"><span>Next project</span><svg width="51" height="45" viewBox="0 0 51 45" fill="none" aria-hidden="true"><circle cx="25" cy="22" r="20"/><path class="tbx-1079__path" d="M14 22H34M26 14L34 22L26 30"/></svg></a>
.tbx-1079{display:flex;align-items:center;justify-content:space-between;gap:14px;width:min(275px,100%);padding:13px 17px 13px 22px;background:#233e56;text-decoration:none;color:#fff;border-radius:5px;font:700 13px/1.4 system-ui,sans-serif;transition:background .3s}
.tbx-1079 svg{flex:0 0 51px;overflow:visible}.tbx-1079 circle{stroke:#84b7bc;stroke-width:1.4;transition:stroke .3s}.tbx-1079__path{stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:42;stroke-dashoffset:42;transition:stroke-dashoffset .5s cubic-bezier(.22,1,.36,1)}
.tbx-1079:is(:hover,:focus-visible){background:#1d7776}.tbx-1079:is(:hover,:focus-visible) .tbx-1079__path{stroke-dashoffset:0}.tbx-1079:is(:hover,:focus-visible) circle{stroke:#d9f4e8}
.tbx-1079:focus-visible{outline:3px solid #dfb778;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.tbx-1079,.tbx-1079 *{transition:none!important}.tbx-1079__path{stroke-dashoffset:0}}
How to Use
Insert the HTML and add the CSS to your stylesheet. Adjust colors and sizes and avoid class conflicts.
Use Case
Useful for links sections and calls to action.
Technical Notes
Keep controls usable on touch devices. Test keyboard focus and reduced-motion preferences.
Mobile: Ensure the interactive content remains accessible without hover on touch devices.
Browser: Uses modern CSS. Check behavior in the browsers you support.
Reduced Motion: Check that prefers-reduced-motion is respected.