{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"hard-hat","type":"registry:component","title":"HardHat","description":"hard-hat from coolicons in Line with regular corners. helmet, construction, safety, worker, builder, engineer, site. Other styles and corners: @coolicons/<style>/<radius>/hard-hat with line, duocolor, duotone, fill or bulk and sharp or round. Leave out regular, like @coolicons/fill/hard-hat, and use @coolicons/hard-hat for line with regular corners.","categories":["Home"],"author":"coolicons <https://coolicons.cool>","docs":"https://coolicons.cool/icons/hard-hat","meta":{"icon":"hard-hat","style":"line","radius":"regular"},"files":[{"path":"registry/icons/hard-hat.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 HardHat({ 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=\"M5 16V11C5 8.23858 7.23858 6 10 6M14 6C16.76142 6 19 8.23858 19 11V16M3 18C3 16.89543 3.89543 16 5 16H19C20.10457 16 21 16.89543 21 18C21 19.10457 20.10457 20 19 20H5C3.89543 20 3 19.10457 3 18ZM10 11V5C10 4.44772 10.44772 4 11 4H13C13.55228 4 14 4.44772 14 5V11\" stroke=\"currentColor\" strokeWidth={strokeWidth} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n    </svg>\n  );\n}\n","target":"@components/icons/hard-hat.tsx"}]}
