---
title: "Animated Rocket Icon"
description: "A rocket for a Launch, Deploy, or Publish action. On hover it shakes, lifts off as its trail grows, and settles."
url: https://gelatinui.com/components/animated-rocket-icon
markdown_url: https://gelatinui.com/components/animated-rocket-icon.md
access: pro
install: "npx shadcn@latest add @gelatin-ui-pro/animated-rocket-icon"
version: "2026-11-24"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Animated Rocket Icon

> A rocket for a Launch, Deploy, or Publish action. On hover it shakes, lifts off as its trail grows, and settles.

Page: https://gelatinui.com/components/animated-rocket-icon

## When to use it

Best for: A Deploy, Launch, or Publish button: the rocket lifts off once on hover.

- Use it in the main button of a deploy bar, a launch checklist, or a publish step.
- Leave `trigger` at `hover` to launch on the hover or the keyboard focus of the control.
- Set `trigger="none"` and raise `play` to launch when a deploy starts.

## When not to use it

- For a Send action in a message composer, use the [Animated Send Icon](https://gelatinui.com/components/animated-send-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.
- `trigger` is `hover` by default: the hover or the keyboard focus of the closest Button, link, or `[data-icon-hover]` element plays one launch.
- `play` plays one launch each time the number changes.
- The rocket is the text color. In `solid` the window is cut through the body.
- The icon is `aria-hidden`. Put the name on the button.

## Anatomy

```text
AnimatedRocketIcon
```

## API reference

### AnimatedRocketIcon

| 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. |
| `trigger` | `"hover" \| "none"` |  | `hover` (default) plays once per hover or keyboard focus of the control around the icon. |
| `play` | `number` |  | Plays once each time this number changes (a new notice, a saved form). |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| AnimatedRocketIcon | `animated-rocket-icon` |  |  |  |

## Usage

Put the icon in a Button. The hover or the keyboard focus of the button plays the launch.

The sample also uses `button`, which this add does not write. One command adds them with this item:

```bash
npx shadcn@latest add @gelatin-ui-pro/animated-rocket-icon @gelatin-ui/button
```

```tsx title="deploy-button.tsx"
import { AnimatedRocketIcon } from "@/components/pro/icons/animated-rocket-icon";
import { Button } from "@/components/ui/button";

export function DeployButton() {
  return (
    <Button>
      <AnimatedRocketIcon data-icon="inline-start" />
      Deploy
    </Button>
  );
}
```

## 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-pro/animated-rocket-icon
```

It adds 14 registry items: 13 files, 2469 lines, and the npm packages `@base-ui/react`, `@mantine/hooks`, `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

## Related

- [Button](https://gelatinui.com/components/button.md)
- [Animated Send Icon](https://gelatinui.com/components/animated-send-icon.md)

## Accessibility

The icon is hidden from assistive tools. Put the name on the button.

## Motion

| Part | Motion |
| --- | --- |
| Hover | iconHover · three small shakes, then a lift of 2 units as the trail grows, then rest (900ms) |
