JSXIcons.com

General icon

Ruler JSX Icon

Copy the Ruler icon as an optimized JSX SVG component for React, Next.js, dashboards, landing pages and Tailwind interfaces.

Browse all icons
ComponentRulerIcon
FilerulerIcon.jsx
CategoryGeneral

Copy-ready code

Ruler React JSX component

// Source: https://unpkg.com/lucide-static@1.25.0/icons/ruler.svg
// Asset license: Lucide ISC. Some Lucide glyphs derive from Feather under MIT; see the upstream license.
export const RulerIcon = ({ width = "40px", height = "40px", color = "currentColor", ...props }) => (
  <svg {...props} width={width} height={height} viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" role="img">
    <path d="M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z" />
  <path d="m14.5 12.5 2-2" />
  <path d="m11.5 9.5 2-2" />
  <path d="m8.5 6.5 2-2" />
  <path d="m17.5 15.5 2-2" />
  </svg>
)

How to use the Ruler icon

import { RulerIcon } from "@/assets/icons/rulerIcon"

export default function Example() {
  return <RulerIcon width="32px" height="32px" />
}

Built for the web

Use it in your stack

This copy-ready component works in React and Next.js projects, and the SVG can be adapted for any interface.

ReactNext.jsJSXSVGGeneral icons

Looking for a similar mark? Browse the related icons below or explore the full general collection.

Related JSX icons

FAQ

Is the Ruler JSX icon free?

Yes. You can copy the JSX component and use it in React and Next.js projects.

Can I customize it?

Yes. Edit the SVG attributes or pass className, width, height and color props depending on the component.