# Elastic tower

An animated isometric line scene for scaling and resilience: a tower of slabs on springs sways under the pointer and springs back.

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown variants are available for the docs, pricing and about pages: append `.md` to the URL or send an `Accept: text/markdown` header (the home page answers the header too). An agent skill is available at [/.well-known/agent-skills/site-skill.md](/.well-known/agent-skills/site-skill.md).

## At a glance

- **Good for:** Scaling and resilience heroes; Flexible pricing and plans; Playful 404 and empty states
- **Category:** Status · **Type:** Scenes · **Style:** Line, Dark mode
- **See it:** [Live preview](https://www.craftui.space/docs/isometrics/elastic-tower)

## Install

```bash
pnpm dlx shadcn@latest add https://www.craftui.space/r/elastic-tower.json
```

This is a paid item (ISO-6C7898): the install needs a craftUI plan or a purchase of it. Signed in, the docs page gives your personal install command. Plans: https://www.craftui.space/pricing

## Usage

```tsx
import ElasticTower from "@/components/isometric/elastic-tower";

export default function Page() {
  return <ElasticTower />;
}
```

With no props it renders with demo content; pass your own through the props below.

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `accent` | `string` | — | Any CSS colour for the one accent mark; defaults to a theme-aware blue. |
| `className` | `string` | — | Classes for the wrapper; it is full width, so size it with max-w-*. |
| `play` | `Play` | `"hover"` | once: the story plays as the scene scrolls in, then holds its result. hover: it rests on its result until hovered. loop: story, hold, again. |
| `loop` | `boolean` | — | Shorthand for play="loop". |
| `replay` | `number` | — | Change this number to play the story again. |
| `style` | `CSSProperties` | — | Inline styles for the wrapper. |

## Files

The install adds:

- `components/isometric/elastic-tower.tsx`
- `components/isometric/iso-svg.tsx`

npm dependencies (installed for you): `motion`.