---
title: "Guardrails animated icon"
description: "Guardrails animated icon (AI · Agents). An agent disc drifts off lane, meets the rail exactly, the rail gives, and the disc is steered back to a clean lane."
canonical: https://generativeicons.com/icons/guardrails/
---

# Guardrails animated icon

An agent disc drifts off lane, meets the rail exactly, the rail gives, and the disc is steered back to a clean lane.

- Id: `guardrails`
- Category: AI · Agents
- Search terms: ai safety, safeguards, guard rails, rails, boundaries, content moderation, moderation, responsible ai, keep on track, ai alignment
- 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/guardrails.lottie (dotLottie, 4993 bytes, sha256 8db84a80200de75288207ca6c5ccad03f396e1d55dcebc1401bd5130f9344341)
- License: MIT

## Install

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

## React

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

export function GuardrailsIcon() {
  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/guardrails.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/guardrails/ · https://generativeicons.com/api/icons/guardrails
