Pallas UI
DocsComponents
Core Concepts
    • Introduction
    • Getting Started
    • Theming
    • Color Tokens
    • Spacing & Sizing
    • Layout Guide
    • AspectRatio
    • Box
    • Flex
    • Grid
    • Shapes
Previews
    • Accordion
    • Alert
    • Avatar
    • Badge
    • Breadcrumb
    • Button
    • Carousel
    • Checkbox
    • Combobox
    • Command
    • Date Picker
    • Form
    • Input
    • Input OTP
    • Label
    • MenuBar
    • Modal
    • Popover
    • Progress
    • Radio Group
    • Segmented
    • Select
    • Separator
    • Sheet
    • Sidebar
    • Skeleton
    • Slider
    • Spinner
    • Steps
    • Switch
    • Tabs
    • Textarea
    • Toast
    • Tooltip
    • Typography
  1. Components
  2. Skeleton

Skeleton

A placeholder component for loading states, mimicking the shape of content.

Installation

Copy and paste the following code into your project

import { styled } from '@styled-system/jsx'
import { skeleton } from '@styled-system/recipes'
 
export const Skeleton = styled('div', skeleton)

Update the import paths to match your project setup

Usage

import { Skeleton } from '@/components/ui/skeleton'
<Skeleton css={{ width: '100px', height: '20px' }} />

Examples

Default

Text Block

Circle

Built with ❤️ by the carbonteq team. The source code is available on GitHub.

© 2025 Pallas UI. All rights reserved.