---
title: "Seed lock animated icon"
description: "Seed lock animated icon (Models & providers). Lock a repeatable random seed. Light: the open shackle swings 30 degrees shut onto the die and latches with a hit and a small click back; the whole lock dips under the impact and recovers. Strong: the shackle opens a little further first, slams shut, clicks twice, and the lock takes two decaying dips. The shackle stays shut (locked). The reverse unlocks: the shackle is pressed down to release, springs open past its stop and settles, and the lock lifts as it lets go. The die's three pips never move on the die."
canonical: https://generativeicons.com/icons/seed-lock/
---

# Seed lock animated icon

Lock a repeatable random seed. Light: the open shackle swings 30 degrees shut onto the die and latches with a hit and a small click back; the whole lock dips under the impact and recovers. Strong: the shackle opens a little further first, slams shut, clicks twice, and the lock takes two decaying dips. The shackle stays shut (locked). The reverse unlocks: the shackle is pressed down to release, springs open past its stop and settles, and the lock lifts as it lets go. The die's three pips never move on the die.

- Id: `seed-lock`
- Category: Models & providers
- Search terms: random seed, fixed seed, deterministic, reproducible, reproducibility, repeatable, same output, lock randomness, seed value, set seed, consistent results, dice lock
- Two states: variable-seed to locked-seed, played forward and back
- 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/seed-lock.lottie (dotLottie, 6799 bytes, sha256 fd319249badd1fce0128192b2aa6fb63467a5fa74db9f9da74b3014d628bdc06)
- License: MIT

## Install

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

## React

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

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