Skip to content

Instantly share code, notes, and snippets.

@alexmwalker
Last active March 11, 2025 04:38
Show Gist options
  • Save alexmwalker/4fb0f4e5f5fe706129a160d1e54fc1ad to your computer and use it in GitHub Desktop.
Save alexmwalker/4fb0f4e5f5fe706129a160d1e54fc1ad to your computer and use it in GitHub Desktop.
SVG icons
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com" viewBox="0 0 90 540">
<view id="icon-link" viewBox="0 0 90 90"/>
<view id="icon-arrow-right" viewBox="0 90 90 90"/>
<view id="icon-arrow-left" viewBox="0 180 90 90"/>
<view id="icon-home" viewBox="0 270 90 90"/>
<view id="icon-hamburger" viewBox="0 360 90 90"/>
<view id="icon-search" viewBox="0 450 90 90"/>
<path d="M40.5 16.3h6.8c2.2.1 4.8 1.1 6.2 2.6 1.4 1.4 2.5 4 2.6 6.2v9.6a9.9 9.9 0 0 1-2.5 6 10.2 10.2 0 0 1-6 2.5h-.2v4c2.2 0 4.7 1 6.1 2.5 1.4 1.4 2.5 4 2.6 6.2v9.6a9.6 9.6 0 0 1-2.5 6 10.2 10.2 0 0 1-6 2.5h-7c-2.3-.1-4.9-1.1-6.3-2.5-1.4-1.5-2.4-4-2.5-6.3V56c0-2.2 1.1-4.8 2.5-6.2 1.4-1.4 4-2.4 6.1-2.6v-4c-2.2 0-4.7-1-6-2.5a9.7 9.7 0 0 1-2.6-6.2v-9.3c0-2.2 1.1-4.8 2.5-6.3 1.4-1.4 4-2.4 6.2-2.5ZM39 23.5c-.6.6-.8.7-.6 1.6v9.3c-.2.9 0 1 .6 1.6.6.6.8.8 1.5.7v-1.2c0-.8.4-1.6 1-2.2.5-.5 1.3-.9 2.1-.9h.8c.8 0 1.6.4 2.2 1 .5.5.9 1.3.9 2.1v1.2h.2c.8.1.9 0 1.4-.6.5-.5.7-.6.6-1.4V25c.1-.8 0-1-.7-1.5-.6-.6-.7-.8-1.6-.7h-6.8c-.8-.1-1 0-1.6.7Zm0 30.8c-.6.6-.8.7-.6 1.6v9.4c-.2.8 0 1 .6 1.5.6.6.8.8 1.6.7h7.1c.8.1.9 0 1.4-.6.5-.5.7-.6.6-1.4V56c.1-.9 0-1-.7-1.6-.5-.6-.7-.8-1.5-.7v1.5c0 .8-.4 1.6-1 2.2-.5.5-1.3.9-2.1.9h-.8c-.8 0-1.6-.4-2.2-1-.5-.5-.9-1.3-.9-2.1v-1.5c-.8-.1-1 .1-1.5.7Z" style="transform-box:fill-box;transform-origin:50% 50%;fill:#030000" transform="rotate(-45 0 0)"/>
<path d="m111 171.5 20.2 26.7H90.8l20.2-26.7Z" style="transform-box:fill-box;transform-origin:50% 50%" transform="rotate(90 -8.8 -58.8)"/>
<path d="m111 171.5 20.2 26.7H90.8l20.2-26.7Z" style="transform-origin:111.04px 184.84px" transform="rotate(-90 -14.1 55.5)"/>
<path d="M61.8 338.8H47.5v-13.9h-6.8v13.9H26.5v-17h-6l23.3-26.1 23.3 26h-5.3v17Z" />
<path d="M24 415.4h41v6.2H24v-6.2Zm0-13.7h41v6.1H24v-6.1Zm0-14.5h41v6.2H24v-6.2Z" />
<path d="M70.4 515a3 3 0 0 1 0 4.2l-.7.6a3 3 0 0 1-4.2 0l-8.4-8.3c-4 2.9-9 4.4-13.6 4.5-5.6 0-11.8-2.4-16.2-6.8a23.6 23.6 0 0 1-6.7-16.2c0-5.7 2.3-11.9 6.7-16.3a23.7 23.7 0 0 1 16.2-6.7c5.7 0 12 2.4 16.3 6.7a23.6 23.6 0 0 1 6.7 16.3c0 4.6-1.6 9.6-4.5 13.6l8.4 8.4Zm-26.9-40a17 17 0 0 0-12.6 5.3 17 17 0 0 0-5.3 12.7c0 4.8 1.6 9 5.3 12.7 3.6 3.6 7.9 5.2 12.6 5.2 4.8 0 9.1-1.6 12.7-5.2 3.7-3.7 5.3-8 5.3-12.7 0-4.8-1.6-9-5.3-12.7a17.2 17.2 0 0 0-12.7-5.3Z" style=""/>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment