Ruler icon
Download the Ruler icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- measure
- measurement
- dimensions
- size
- length
- width
- scale
Size
Stroke
Color
- Category
- general
- Styles
- Outline
- Component
- IconRuler
- License
- MIT · Paweł Kuna
- Files
-
outline/ruler.svg
Code
Copy it the way you use it
ruler.svg
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M5 4h14a1 1 0 0 1 1 1v5a1 1 0 0 1 -1 1h-7a1 1 0 0 0 -1 1v7a1 1 0 0 1 -1 1h-5a1 1 0 0 1 -1 -1v-14a1 1 0 0 1 1 -1" />
<path d="M4 8l2 0" />
<path d="M4 12l3 0" />
<path d="M4 16l2 0" />
<path d="M8 4l0 2" />
<path d="M12 4l0 3" />
<path d="M16 4l0 2" />
</svg> Use the Ruler icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconRuler } from '@tabler/icons-react';
<IconRuler size={24} stroke={2} />Read the React guideVue example
import { IconRuler } from '@tabler/icons-vue';
<IconRuler :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconRuler } from '@tabler/icons-svelte-runes';
<IconRuler size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related