# Skullet

> Skeleton loading states measured from your real component, so content arrives with no layout shift.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/skullet

free

Skeleton loading states measured from your real component, so content arrives with no layout shift.

by Lochie Axon[GitHub](https://github.com/lochie/skullet)[npm](https://npmjs.com/package/skullet)

[visit](https://skullet.lochie.me/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://skullet.lochie.me](https://skullet.lochie.me/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [shadcn/ui](https://tastebase.ehsanulsiam.workers.dev/browse/shadcn-ui)

Copy-in React components on Tailwind, built on Base UI, Radix or React Aria, plus a registry CLI.

no preview

### [Torph](https://tastebase.ehsanulsiam.workers.dev/browse/torph)

Animated text morphing: labels change letter by letter instead of swapping.

no preview

### [NumberFlow](https://tastebase.ehsanulsiam.workers.dev/browse/number-flow)

Animated number component: digits roll to the new value, formatted with Intl.NumberFormat.

no preview

### [Ding](https://tastebase.ehsanulsiam.workers.dev/browse/ding)

Spring-physics toasts where one toast morphs in place instead of stacking, for React, Svelte, Vue and plain JS.

## For your agent

##### Install

`npm i skullet`

##### Use it for

- a profile card, feed or table that loads async and must not jump when the data arrives
- skeleton loaders for many components without hand-drawing a placeholder for each
- a Suspense boundary whose fallback looks like the content (SkeletonSuspense)
- reloads and refetches that redraw the exact last layout (an id remembers each shape)

##### Skip it when

- waits under about 150ms or a button's own pending state: show nothing or a spinner in the button (skullet already holds skeletons back for 150ms)
- a branded looping loader for an unknown wait: use dot-matrix or amicro
- you only need one static grey box: shadcn-ui's Skeleton is enough

##### What's inside6 free

- Skeleton
- SkeletonSuspense
- SkeletonBox
- SkulletProvider
- Reveal (vanilla)
- skullet-reveal web component

##### Facts

**Frameworks**
react, vue, svelte, solid, angular, vanilla

**Styling**
css

**Weight**
small

**Accessibility**
strong

**Maturity**
experimental

**License**
MIT

**Price**
Free

##### Pairs with

[Torph](https://tastebase.ehsanulsiam.workers.dev/browse/torph)[NumberFlow](https://tastebase.ehsanulsiam.workers.dev/browse/number-flow)[shadcn/ui](https://tastebase.ehsanulsiam.workers.dev/browse/shadcn-ui)

##### Alternatives

[shadcn/ui](https://tastebase.ehsanulsiam.workers.dev/browse/shadcn-ui)

```
import { Skeleton } from 'skullet/react'

const SAMPLE_USER = { name: 'Ada Lovelace', role: 'Engineer' }

<Skeleton id="profile" data={user} sample={SAMPLE_USER} label="Loading profile">
  {(user) => <ProfileCard user={user} />}
</Skeleton>
```

https://skullet.lochie.me

Loading website

[Visit](https://skullet.lochie.me/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
