Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Ruler icon
A free ruler icon from Tabler Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.
- License
- MIT license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/tabler/ruler.jsonimport * as React from "react";
/**
* Ruler from Tabler Icons (https://github.com/tabler/tabler-icons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/tabler/ruler. Sized in em, colored by currentColor.
*/
export function TbRulerIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
fill="none"
strokeWidth="2"
viewBox="0 0 24 24"
strokeLinecap="round"
strokeLinejoin="round"
stroke="currentColor"
fill="currentColor"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<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>
);
}import { TbRuler } from "react-icons/tb";
export function Example() {
return <TbRuler className="size-5" />;
}<svg
fill="none"
stroke-width="2"
viewBox="0 0 24 24"
stroke-linecap="round"
stroke-linejoin="round"
stroke="currentColor"
fill="currentColor"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<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>"Ruler" icon from Tabler Icons (https://github.com/tabler/tabler-icons), licensed under MIT license.