---
title: "Ruler guides animated icon"
description: "Ruler guides animated icon (Drawing & design tools). Guides are pulled out of the rulers and set on the 17 marks. Light: the vertical guide is drawn down out of the top ruler, and the horizontal guide follows a beat later, drawn across out of the left ruler; each stops at full length. Strong: each guide is also dragged out from its ruler while it draws, runs past its mark, snaps back onto it with a stop and settles; the horizontal one follows the vertical one. The rulers never move."
canonical: https://generativeicons.com/icons/ruler-guides/
---

# Ruler guides animated icon

Guides are pulled out of the rulers and set on the 17 marks. Light: the vertical guide is drawn down out of the top ruler, and the horizontal guide follows a beat later, drawn across out of the left ruler; each stops at full length. Strong: each guide is also dragged out from its ruler while it draws, runs past its mark, snaps back onto it with a stop and settles; the horizontal one follows the vertical one. The rulers never move.

- Id: `ruler-guides`
- Category: Drawing & design tools
- Search terms: guidelines, guide lines, rulers, smart guides, layout guides, add guide, drag guide, alignment guides, margins, measurement
- One action, back to rest
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/ruler-guides.lottie (dotLottie, 4681 bytes, sha256 4f9496e7c63635c4095bd478347aa338e7c7287c5a3814e94bbe5bdfe564570a)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add ruler-guides
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/ruler-guides.mjs';

export function RulerGuidesIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/ruler-guides.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/ruler-guides/ · https://generativeicons.com/api/icons/ruler-guides
