---
title: "Animated Plus Icon"
description: "A plus that turns into a cross with a small overshoot when its menu or panel opens, and back when it closes."
url: https://gelatinui.com/components/speed-dial
markdown_url: https://gelatinui.com/components/animated-plus-icon.md
access: free
install: "npx shadcn@latest add @gelatin-ui/animated-plus-icon"
registry_item: https://gelatinui.com/r/animated-plus-icon.json
version: "2026-11-09"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Animated Plus Icon

> A plus that turns into a cross with a small overshoot when its menu or panel opens, and back when it closes.

Page: https://gelatinui.com/components/speed-dial

## When to use it

Best for: The icon of a button that opens a menu or panel with a plus and closes it with a cross.

- Use it in a trigger that opens and closes, and pass the open state in `open`.
- The Speed Dial trigger shows it when the trigger has no children.

## When not to use it

- For a Close button that only closes, use the [Animated Close Icon](https://gelatinui.com/components/animated-close-icon.md).

## Notes for agents

- `variant` (`stroke`, `solid`, `duotone`, `twotone`, `bulk`) and `corners` (`round`, `sharp`) pick the style. Use one style for every icon of a product.
- `open` alone drives it: pass the open state of the menu or panel.
- A change in the middle of a turn goes on from the angle it has.
- The icon has no name: the button around it needs an `aria-label`, such as "Create".

## Anatomy

```text
AnimatedPlusIcon
```

## API reference

### AnimatedPlusIcon

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `variant` | `"bulk" \| "duotone" \| "solid" \| "stroke" \| "twotone"` |  | `stroke` (default): 1.5 strokes. `solid`: the body filled, inner details cut through. `duotone`: a 40% fill under the stroke. `twotone`: the details at 40%. `bulk`: the body filled at 40% with no outline, the details at full color. |
| `corners` | `"round" \| "sharp"` |  | `round` (default): round caps and joins, soft corners. `sharp`: square caps, miter joins. |
| `open` | `boolean` | false | Open: the plus has turned into a cross (the action is "close"). Default: the plus. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| AnimatedPlusIcon | `animated-plus-icon` |  |  |  |

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui/animated-plus-icon
```

It adds 9 registry items: 8 files, 2068 lines, and the npm packages `@base-ui/react`, `clsx`, `motion`, `tailwind-merge`, `tailwind-variants`.

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Motion

| Part | Motion |
| --- | --- |
| Turn | panelBounce · the plus turns 45° into a cross, passes, and settles |
