gentleface

Gentleface › Shapes › torus

torus icon

Torus: torus, torus solid. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.119 4.407C3.801 3.935 4.586 3.577 5.475 3.334C6.287 3.111 7.129 3 8 3C8.871 3 9.713 3.111 10.525 3.334C11.414 3.577 12.199 3.935 12.881 4.407C13.578 4.889 14.11 5.452 14.478 6.095C14.826 6.704 15 7.339 15 8C15 8.661 14.826 9.296 14.478 9.905C14.11 10.548 13.578 11.111 12.881 11.593C12.199 12.065 11.414 12.423 10.525 12.666C9.713 12.889 8.871 13 8 13C7.129 13 6.287 12.889 5.475 12.666C4.586 12.423 3.801 12.065 3.119 11.593C2.422 11.111 1.89 10.548 1.522 9.905C1.174 9.296 1 8.661 1 8C1 7.339 1.174 6.704 1.522 6.095C1.89 5.452 2.422 4.889 3.119 4.407ZM3.688 10.771C4.276 11.178 4.96 11.488 5.74 11.702C6.465 11.901 7.218 12 8 12C8.782 12 9.535 11.901 10.26 11.702C11.04 11.488 11.724 11.178 12.312 10.771C12.884 10.375 13.317 9.92 13.61 9.408C13.87 8.953 14 8.484 14 8C14 7.516 13.87 7.047 13.61 6.592C13.317 6.08 12.884 5.625 12.312 5.229C11.724 4.822 11.04 4.512 10.26 4.298C9.535 4.099 8.782 4 8 4C7.218 4 6.465 4.099 5.74 4.298C4.96 4.512 4.276 4.822 3.688 5.229C3.116 5.625 2.683 6.08 2.39 6.592C2.13 7.047 2 7.516 2 8C2 8.484 2.13 8.953 2.39 9.408C2.683 9.92 3.116 10.375 3.688 10.771ZM4.378 7.109C4.605 6.864 4.921 6.654 5.328 6.48C5.706 6.318 6.14 6.195 6.628 6.112C7.07 6.037 7.527 6 8 6C8.473 6 8.93 6.037 9.372 6.112C9.86 6.195 10.294 6.318 10.672 6.48C11.079 6.654 11.395 6.864 11.622 7.109C11.874 7.382 12 7.679 12 8C12 8.321 11.874 8.618 11.622 8.891C11.395 9.136 11.079 9.346 10.672 9.52C10.294 9.682 9.86 9.805 9.372 9.888C8.93 9.963 8.473 10 8 10C7.527 10 7.07 9.963 6.628 9.888C6.14 9.805 5.706 9.682 5.328 9.52C4.921 9.346 4.605 9.136 4.378 8.891C4.126 8.618 4 8.321 4 8C4 7.679 4.126 7.382 4.378 7.109ZM5.113 8.213C5.243 8.353 5.446 8.483 5.722 8.601C6.027 8.732 6.385 8.832 6.795 8.902C7.181 8.967 7.583 9 8 9C8.417 9 8.819 8.967 9.205 8.902C9.615 8.832 9.973 8.732 10.278 8.601C10.554 8.483 10.757 8.353 10.887 8.213C10.962 8.131 11 8.06 11 8C11 7.94 10.962 7.869 10.887 7.787C10.757 7.647 10.554 7.517 10.278 7.399C9.973 7.268 9.615 7.168 9.205 7.098C8.819 7.033 8.417 7 8 7C7.583 7 7.181 7.033 6.795 7.098C6.385 7.168 6.027 7.268 5.722 7.399C5.446 7.517 5.243 7.647 5.113 7.787C5.038 7.869 5 7.94 5 8C5 8.06 5.038 8.131 5.113 8.213Z"/></svg>
React
// Gentleface "torus" (line-round), MIT. https://gentleface.com/icons/torus
import type { SVGProps } from 'react';

export function TorusIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M3.119 4.407C3.801 3.935 4.586 3.577 5.475 3.334C6.287 3.111 7.129 3 8 3C8.871 3 9.713 3.111 10.525 3.334C11.414 3.577 12.199 3.935 12.881 4.407C13.578 4.889 14.11 5.452 14.478 6.095C14.826 6.704 15 7.339 15 8C15 8.661 14.826 9.296 14.478 9.905C14.11 10.548 13.578 11.111 12.881 11.593C12.199 12.065 11.414 12.423 10.525 12.666C9.713 12.889 8.871 13 8 13C7.129 13 6.287 12.889 5.475 12.666C4.586 12.423 3.801 12.065 3.119 11.593C2.422 11.111 1.89 10.548 1.522 9.905C1.174 9.296 1 8.661 1 8C1 7.339 1.174 6.704 1.522 6.095C1.89 5.452 2.422 4.889 3.119 4.407ZM3.688 10.771C4.276 11.178 4.96 11.488 5.74 11.702C6.465 11.901 7.218 12 8 12C8.782 12 9.535 11.901 10.26 11.702C11.04 11.488 11.724 11.178 12.312 10.771C12.884 10.375 13.317 9.92 13.61 9.408C13.87 8.953 14 8.484 14 8C14 7.516 13.87 7.047 13.61 6.592C13.317 6.08 12.884 5.625 12.312 5.229C11.724 4.822 11.04 4.512 10.26 4.298C9.535 4.099 8.782 4 8 4C7.218 4 6.465 4.099 5.74 4.298C4.96 4.512 4.276 4.822 3.688 5.229C3.116 5.625 2.683 6.08 2.39 6.592C2.13 7.047 2 7.516 2 8C2 8.484 2.13 8.953 2.39 9.408C2.683 9.92 3.116 10.375 3.688 10.771ZM4.378 7.109C4.605 6.864 4.921 6.654 5.328 6.48C5.706 6.318 6.14 6.195 6.628 6.112C7.07 6.037 7.527 6 8 6C8.473 6 8.93 6.037 9.372 6.112C9.86 6.195 10.294 6.318 10.672 6.48C11.079 6.654 11.395 6.864 11.622 7.109C11.874 7.382 12 7.679 12 8C12 8.321 11.874 8.618 11.622 8.891C11.395 9.136 11.079 9.346 10.672 9.52C10.294 9.682 9.86 9.805 9.372 9.888C8.93 9.963 8.473 10 8 10C7.527 10 7.07 9.963 6.628 9.888C6.14 9.805 5.706 9.682 5.328 9.52C4.921 9.346 4.605 9.136 4.378 8.891C4.126 8.618 4 8.321 4 8C4 7.679 4.126 7.382 4.378 7.109ZM5.113 8.213C5.243 8.353 5.446 8.483 5.722 8.601C6.027 8.732 6.385 8.832 6.795 8.902C7.181 8.967 7.583 9 8 9C8.417 9 8.819 8.967 9.205 8.902C9.615 8.832 9.973 8.732 10.278 8.601C10.554 8.483 10.757 8.353 10.887 8.213C10.962 8.131 11 8.06 11 8C11 7.94 10.962 7.869 10.887 7.787C10.757 7.647 10.554 7.517 10.278 7.399C9.973 7.268 9.615 7.168 9.205 7.098C8.819 7.033 8.417 7 8 7C7.583 7 7.181 7.033 6.795 7.098C6.385 7.168 6.027 7.268 5.722 7.399C5.446 7.517 5.243 7.647 5.113 7.787C5.038 7.869 5 7.94 5 8C5 8.06 5.038 8.131 5.113 8.213Z" />
    </svg>
  );
}
Vue
Vue: see /icons/torus.md
Svelte
Svelte: see /icons/torus.md
HTML img
HTML img: see /icons/torus.md
CSS
CSS: see /icons/torus.md
Data URL
Data URL: see /icons/torus.md
Sprite
Sprite: see /icons/torus.md
SwiftUI
SwiftUI: see /icons/torus.md
Compose
Compose: see /icons/torus.md
Android XML
Android XML: see /icons/torus.md
Flutter
Flutter: see /icons/torus.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { TorusIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
torus, torus solid
Tags
torus, ring, 3d, shape, solid, geometry, doughnut shape, toroid, primitive, modelling
Category
Shapes
Component name
TorusIcon
History
  • 20 px drawn, 24 px drawn, added, released in 0.5.0
Since
version 0.5.0

More shapes icons

For agents

Metadata: /icons/torus.json · Markdown: /icons/torus.md · SVG: https://gentleface.com/svg/{style}/16/torus.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/torus.png