Skip to content
Back to skills

Takeoff Skeleton

ASecurity

Use `Skeleton` to preserve the shape of pending content and reduce layout shift. It is a visual placeholder, not a status announcement or progress indicator. **When to use:** First-load placeholders for content whose layout you already know — cards, list rows, avatars, text lines, table cells. Reach for it when leaving the space blank would make the page jump once data arrives. Not this — use `takeoff-spinner` for short, indeterminate waits with no known shape (a saving button, an inline refr...

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added December 4, 2026
designreact

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add turkishtechnology/takeoff-v2 --skill takeoff-skeleton --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Takeoff Skeleton?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Takeoff Skeleton
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/turkishtechnology-takeoff-skeleton/badge)](https://www.skillsdirectory.com/skills/turkishtechnology-takeoff-skeleton)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: takeoff-skeleton
description:
  Use the Skeleton component from @takeoff-ui/react-spar to reserve layout and
  represent content that is still loading. Use whenever building, importing,
  styling, or fixing skeleton loaders, shimmer placeholders, loading cards,
  avatar placeholders, text placeholders, or content-loading layouts in a
  Takeoff / Spar React app.
---

# Skeleton — @takeoff-ui/react-spar

Use `Skeleton` to preserve the shape of pending content and reduce layout shift.
It is a visual placeholder, not a status announcement or progress indicator.

**When to use:** First-load placeholders for content whose layout you already
know — cards, list rows, avatars, text lines, table cells. Reach for it when
leaving the space blank would make the page jump once data arrives. Not this —
use `takeoff-spinner` for short, indeterminate waits with no known shape (a
saving button, an inline refresh), and `takeoff-progress` when completion is
measurable.

## Quick start

```tsx
import { Skeleton } from '@takeoff-ui/react-spar';

<Skeleton width={240} height={20} />;
```

## Common patterns

```tsx
<div className="flex items-center gap-3" aria-busy="true">
  <Skeleton shape="circle" width={48} height={48} />
  <div className="grid gap-2">
    <Skeleton width={180} height={16} />
    <Skeleton width="12rem" height={12} />
  </div>
</div>

<Skeleton width="100%" height={120} animation="none" />
```

## Card placeholder

Match the eventual layout closely so loading completion does not move nearby
content.

```tsx
<div className="grid gap-3" aria-busy="true">
  <Skeleton width="100%" height={160} />
  <Skeleton width="70%" height={18} />
  <Skeleton width="45%" height={14} />
</div>
```

Numbers resolve to pixels; strings accept any CSS length. Rectangle width fills
its container when omitted. For a circle, use equal width and height.

## Key props

| Prop          | Type                                    | Default         | Notes                              |
| ------------- | --------------------------------------- | --------------- | ---------------------------------- |
| `shape`       | `'rectangle' \| 'circle'`               | `'rectangle'`   | Placeholder silhouette.            |
| `animation`   | `'shimmer' \| 'none'`                   | `'shimmer'`     | Animated or static treatment.      |
| `width`       | `string \| number`                      | container width | Number means pixels.               |
| `height`      | `string \| number`                      | —               | Number means pixels.               |
| `aria-hidden` | `boolean \| 'true' \| 'false'`          | `true`          | Keep the placeholder non-semantic. |
| `classNames`  | `Partial<Record<SkeletonSlot, string>>` | —               | `root` and `shimmer` classes.      |
| `slotProps`   | `SlotPropsMap<SkeletonSlot>`            | —               | Per-slot attributes and styles.    |

## Accessibility and usage rules

- Do not put meaningful text or controls inside Skeleton; it does not accept
  children and is hidden from the accessibility tree.
- Do not use Skeleton as the loading announcement. Apply `aria-busy` to the
  content region or add a labelled Spinner/status when an announcement matters.
- Avoid focusable placeholder elements. Render the real control only when it is
  ready.
- Use `animation="none"` when a static placeholder is preferable; the shimmer
  recipe also respects reduced-motion behavior.

Read `references/full-docs.md` for sizing examples, animation behavior, all
props, slots, data attributes, accessibility, and type definitions.

## Source

- Docs: `apps/docs/docs/components/skeleton.mdx`
- Component: `packages/react-spar/src/components/skeleton/`

Files in this skill

  • SKILL.md3.6 KB
  • references/full-docs.md6.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.