{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"octagon","type":"registry:component","title":"Octagon","description":"octagon from coolicons in Line with regular corners. polygon, stop, eight, road. Other styles and corners: @coolicons/<style>/<radius>/octagon with line, duocolor, duotone, fill or bulk and sharp or round. Leave out regular, like @coolicons/fill/octagon, and use @coolicons/octagon for line with regular corners.","categories":["Shape"],"author":"coolicons <https://coolicons.cool>","docs":"https://coolicons.cool/icons/octagon","meta":{"icon":"octagon","style":"line","radius":"regular"},"files":[{"path":"registry/icons/octagon.tsx","type":"registry:component","content":"import type { SVGProps } from \"react\";\n\ntype IconProps = Omit<SVGProps<SVGSVGElement>, \"children\"> & {\n  size?: number | string;\n  strokeWidth?: number | string;\n  title?: string;\n};\n\nexport function Octagon({ size = 24, strokeWidth = 2, title, ...props }: IconProps) {\n  return (\n    <svg\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      role={title ? \"img\" : undefined}\n      aria-hidden={title ? undefined : true}\n      {...props}\n    >\n      {title ? <title>{title}</title> : null}\n      <path d=\"M12 3H15C15.64029 3 16.35971 3.35971 17 4L20 7C20.64029 7.64029 21 8.35971 21 9V15C21 15.64029 20.64029 16.35971 20 17L17 20C16.35971 20.64029 15.64029 21 15 21H9C8.35971 21 7.64029 20.64029 7 20L4 17C3.35971 16.35971 3 15.64029 3 15V9C3 8.35971 3.35971 7.64029 4 7L7 4C7.64029 3.35971 8.35971 3 9 3H12Z\" stroke=\"currentColor\" strokeWidth={strokeWidth} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n    </svg>\n  );\n}\n","target":"@components/icons/octagon.tsx"}]}
