---
title: "Focus indicator animated icon"
description: "Focus indicator animated icon (Accessibility & reading). A visible keyboard focus indicator, a pair of open brackets, moves from the first control to the next and holds there; reverse moves it back."
canonical: https://generativeicons.com/icons/focus-indicator/
---

# Focus indicator animated icon

A visible keyboard focus indicator, a pair of open brackets, moves from the first control to the next and holds there; reverse moves it back.

- Id: `focus-indicator`
- Category: Accessibility & reading
- Search terms: focus ring, focus visible, focus state, keyboard navigation, tab navigation, tab order, tab key, focused element, focus brackets, move focus
- Two states: first to second, 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/focus-indicator.lottie (dotLottie, 6577 bytes, sha256 d045edb11932f6a4a7ff498cf8aefd795cddb81cba4ff5c8c34f21a878947633)
- License: MIT

## Install

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

## React

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

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