---
title: "Yoga animated icon"
description: "Yoga animated icon (Health & Fitness). Light: the rolled mat travels right, paying out the mat, and settles partly unrolled. Strong: it is drawn back, pushed, rolls out fast past its mark and rocks back once. The unrolled mat is retained; preview reset rearms."
canonical: https://generativeicons.com/icons/yoga/
---

# Yoga animated icon

Light: the rolled mat travels right, paying out the mat, and settles partly unrolled. Strong: it is drawn back, pushed, rolls out fast past its mark and rocks back once. The unrolled mat is retained; preview reset rearms.

- Id: `yoga`
- Category: Health & Fitness
- Search terms: yoga mat, mat, exercise mat, workout mat, pilates, stretching, stretch, flexibility, asana, fitness class
- Two states: prepared to result, 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/yoga.lottie (dotLottie, 28775 bytes, sha256 6f94c9439e3a9dbadba6d79d475145b6aec60adb9a3d288c90265d8e0ea8771e)
- License: MIT

## Install

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

## React

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

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