rivet-icons
Version:
Icons for Indiana University's Rivet Design System
7 lines (4 loc) • 422 B
JavaScript
import { registerIcon } from './rivet-icon-element.js';
const name = 'shopping-cart';
const svg = `<svg><path d="M0 2h2.117l.845 6.755-.24.358C1.616 10.775 2.807 13 4.803 13H14v-2H4.803a.5.5 0 0 1-.416-.777L4.535 10H14.82l1.16-5.804a1 1 0 0 0-.738-1.166L3.123 0H0v2Zm13.832 2.739L13.18 8H4.883l-.71-5.676 9.66 2.415ZM5 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm8 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/></svg>`;
registerIcon(name, svg);