web-components

PreviousNext
Docs
svglcomponent

Preview

Loading preview…
././static/components-generated/webcomponents.tsx
import type { SVGProps } from "react";

const Webcomponents = (props: SVGProps<SVGSVGElement>) => (
  <svg {...props} viewBox="0 0 128 128">
    <path
      fill="var(--bgcolor, #fff)"
      d="m31 12-1 1L2 63l29 51h67l15-26v-2l14-23-15-24v-2L98 12H31zm21 30h21l13 21-13 21H52L40 63z"
    />
    <path fill="#166da5" d="m122 63-12 21-18-21 18-21z" />
    <path fill="#8fdb69" d="M108 88 89 65 78 84l17 26z" />
    <path fill="#166da5" d="M108 38 89 61 78 42l17-26z" />
    <path d="M63 110 35 63l28-47H33L6 63l27 47z" />
    <path fill="#287bbe" d="m50 38 13-22h32l13 22zm28 4h32l11 19H89z" />
    <path fill="#ddf021" d="m50 88 13 22h32l13-22zm28-4h32l11-19H89z" />
  </svg>
);

export { Webcomponents };

Installation

npx shadcn@latest add @svgl/web-components

Usage

import { WebComponents } from "@/components/web-components"
<WebComponents />