Skip to main content

Starwind UI v3.0 is now available! Migration guide

Installation

Usage

---
import { Skeleton } from "@/components/starwind/skeleton";
---
<div class="flex items-center space-x-4">
<Skeleton class="h-12 w-12 rounded-full" />
<div class="space-y-2">
<Skeleton class="h-4 w-[250px]" />
<Skeleton class="h-4 w-[200px]" />
</div>
</div>

Card Skeleton

Table Skeleton

API Reference

Changelog

View version history v1.3.1 6 releases

v1.3.1

  • In Astro, an attribute that you set on Skeleton now wins over the component’s own default for the same attribute, such as role or aria-label.

v1.3.0

  • The component is now available for React as well as Astro. Its props and styles stay the same.

v1.2.2

  • The Tailwind variants now live in their own variants.ts file in the component folder.

v1.2.0

  • style updates

v1.1.0

  • Add data-slot attribute to enable global styling updates

v1.0.0

  • Initial release with starwind v1.7.0