Preview Code
Astro React Vue · Beta
import { Skeleton } from "@/components/starwind/skeleton" ;
< div class = "flex items-center space-x-4" >
< Skeleton class = "h-12 w-12 rounded-full" />
< Skeleton class = "h-4 w-[250px]" />
< Skeleton class = "h-4 w-[200px]" />
import { Skeleton } from "@/components/starwind/skeleton" ;
export function Example () {
< div className = "flex items-center space-x-4" >
< Skeleton className = "h-12 w-12 rounded-full" />
< div className = "space-y-2" >
< Skeleton className = "h-4 w-[250px]" />
< Skeleton className = "h-4 w-[200px]" />
import { Skeleton } from "@/components/starwind/skeleton" ;
< div class = "flex items-center space-x-4" >
< Skeleton class = "h-12 w-12 rounded-full" />
< Skeleton class = "h-4 w-[250px]" />
< Skeleton class = "h-4 w-[200px]" />
Astro React Vue · Beta
pnpm npm yarn
pnpx starwind@latest add skeleton --framework astro
npx starwind@latest add skeleton --framework astro
yarn dlx starwind@latest add skeleton --framework astro
pnpm npm yarn
pnpx starwind@latest add skeleton --framework react
npx starwind@latest add skeleton --framework react
yarn dlx starwind@latest add skeleton --framework react
pnpm npm yarn
pnpx starwind@latest add skeleton --framework vue
npx starwind@latest add skeleton --framework vue
yarn dlx starwind@latest add skeleton --framework vue
Astro React Vue · Beta
import { Skeleton } from "@/components/starwind/skeleton" ;
< div class = "flex items-center space-x-4" >
< Skeleton class = "h-12 w-12 rounded-full" />
< Skeleton class = "h-4 w-[250px]" />
< Skeleton class = "h-4 w-[200px]" />
import { Skeleton } from "@/components/starwind/skeleton" ;
export function Example () {
< div className = "flex items-center space-x-4" >
< Skeleton className = "h-12 w-12 rounded-full" />
< div className = "space-y-2" >
< Skeleton className = "h-4 w-[250px]" />
< Skeleton className = "h-4 w-[200px]" />
import { Skeleton } from "@/components/starwind/skeleton" ;
< div class = "flex items-center space-x-4" >
< Skeleton class = "h-12 w-12 rounded-full" />
< Skeleton class = "h-4 w-[250px]" />
< Skeleton class = "h-4 w-[200px]" />
Preview Code
Astro React Vue · Beta
import { Skeleton } from "@/components/starwind/skeleton" ;
< div class = "flex flex-col space-y-3" >
< Skeleton class = "h-[125px] w-[250px] rounded-xl" />
< Skeleton class = "h-4 w-[250px]" />
< Skeleton class = "h-4 w-[200px]" />
import { Skeleton } from "@/components/starwind/skeleton" ;
export function Example () {
< div className = "flex flex-col space-y-3" >
< Skeleton className = "h-[125px] w-[250px] rounded-xl" />
< div className = "space-y-2" >
< Skeleton className = "h-4 w-[250px]" />
< Skeleton className = "h-4 w-[200px]" />
import { Skeleton } from "@/components/starwind/skeleton" ;
< div class = "flex flex-col space-y-3" >
< Skeleton class = "h-[125px] w-[250px] rounded-xl" />
< Skeleton class = "h-4 w-[250px]" />
< Skeleton class = "h-4 w-[200px]" />
Preview Code
Astro React Vue · Beta
import { Skeleton } from "@/components/starwind/skeleton" ;
< div class = "space-y-2 w-[250px]" >
< Skeleton class = "h-8 w-full" />
< Skeleton class = "h-8 w-full" />
< Skeleton class = "h-8 w-full" />
< Skeleton class = "h-8 w-full" />
< Skeleton class = "h-8 w-full" />
import { Skeleton } from "@/components/starwind/skeleton" ;
export function Example () {
< div className = "space-y-2 w-[250px]" >
< Skeleton className = "h-8 w-full" />
< Skeleton className = "h-8 w-full" />
< Skeleton className = "h-8 w-full" />
< Skeleton className = "h-8 w-full" />
< Skeleton className = "h-8 w-full" />
import { Skeleton } from "@/components/starwind/skeleton" ;
< div class = "space-y-2 w-[250px]" >
< Skeleton class = "h-8 w-full" />
< Skeleton class = "h-8 w-full" />
< Skeleton class = "h-8 w-full" />
< Skeleton class = "h-8 w-full" />
< Skeleton class = "h-8 w-full" />
View version history v1.3.0 · 5 releases v1.3.0 Added contract-generated Astro and React implementations while preserving the component’s existing public API and styling. v1.2.2 Refactor tailwind variants functions into separate variants.ts file v1.1.0 Add data-slot attribute to enable global styling updates v1.0.0 Initial release with starwind v1.7.0 Layer Metadata Skeleton is a styled-only component. It uses Starwind styling and markup without a Runtime primitive. Skeleton is available for Astro, React, and Vue (beta).
styled-component Skeleton Skeleton is a styled-only component. It uses Starwind styling and markup without a Runtime primitive. Skeleton is available for Astro, React, and Vue (beta). Styled component Behavior Foundation skeleton styled-only Styled only /docs/components/skeleton/ Root SkeletonVariants Feedback & Status feedback status loading astro react Astro available Available Astro available React React available Vue Beta Vue beta div attributes
Sidebar Slider