mermaid

PreviousNext
Docs
svglcomponent

Preview

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

const MermaidLogoLight = (props: SVGProps<SVGSVGElement>) => (
  <svg
    {...props}
    xmlSpace="preserve"
    style={{
      fillRule: "evenodd",
      clipRule: "evenodd",
      strokeLinejoin: "round",
      strokeMiterlimit: "2",
    }}
    viewBox="0 0 491 491"
  >
    <path
      d="M407.48 111.18c-71.893-3.077-137.907 41.158-162.4 108.82-24.493-67.662-90.507-111.897-162.4-108.82-2.395 57.049 24.897 111.452 72.06 143.64 24.168 16.599 38.61 44.131 38.53 73.45v50.86H296.9v-50.86c-.084-29.317 14.355-56.85 38.52-73.45 47.176-32.176 74.472-86.587 72.06-143.64Z"
      style={{ fill: "#121212", fillRule: "nonzero" }}
    />
  </svg>
);

export { MermaidLogoLight };

Installation

npx shadcn@latest add @svgl/mermaid

Usage

import { Mermaid } from "@/components/mermaid"
<Mermaid />