Use this icon in your code
Pick how you want to install it. The snippets follow the color, size and stroke you set in the panel.
Smallest install: just this one library.
npm install @rdicons/react-hugeiconsimport { ToyTrain } from '@rdicons/react-hugeicons'
export function Example() {
return <ToyTrain />
}SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><circle cx="7" cy="18" r="2"/><circle cx="17" cy="18" r="2"/><path d="M2 4h11M6 8h2m7 4.5h.5M3 4v12c0 .465 0 .698.051.888a1.5 1.5 0 0 0 1.06 1.06C4.304 18 4.536 18 5 18m7 0V4M9 18h6m-3-8h4.86c1.364 0 1.694.27 1.962 1.608c.097.486.015.858.52.898c.84.068 1.432.633 1.749 1.373C21.546 14.94 22 15.832 22 17c0 .471 0 .707-.146.854C21.707 18 21.47 18 21 18h-2m-3-8V7m0 0h-1m1 0h1"/></g></svg>