# 骨架屏 · JGuang UI

> 在内容加载时预览即将出现的结构。

- 页面: https://jiguang132.com/zh/systems/jguang-ui/docs/components/base/skeleton
- 改编自: shadcn/ui 文档 (MIT) @ bc0705384b51252af26dcc65425b216bf5eb063c
- 说明：正文保留英文原文。

> 示例 `skeleton-demo`: 交互预览见 https://jiguang132.com/zh/systems/jguang-ui/docs/components/base/skeleton


## Installation


  

**Command**


  

**Manual**


```text
Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.
```


### Copy and paste the following code into your project.


[View complete source: components/ui/skeleton.tsx](/r/jguang-ui/base/skeleton.json)


### Update the import paths to match your project setup.


## Usage

```tsx
import { Skeleton } from "@/components/ui/skeleton"
```

```tsx
<Skeleton className="h-[20px] w-[100px] rounded-full" />
```

## Avatar


> 示例 `skeleton-avatar`: 交互预览见 https://jiguang132.com/zh/systems/jguang-ui/docs/components/base/skeleton


## Card


> 示例 `skeleton-card`: 交互预览见 https://jiguang132.com/zh/systems/jguang-ui/docs/components/base/skeleton


## Text


> 示例 `skeleton-text`: 交互预览见 https://jiguang132.com/zh/systems/jguang-ui/docs/components/base/skeleton


## Form


> 示例 `skeleton-form`: 交互预览见 https://jiguang132.com/zh/systems/jguang-ui/docs/components/base/skeleton


## Table


> 示例 `skeleton-table`: 交互预览见 https://jiguang132.com/zh/systems/jguang-ui/docs/components/base/skeleton


## RTL

To enable RTL support in JGuang UI, see the [RTL configuration guide](/systems/jguang-ui/docs/rtl).


> 示例 `skeleton-rtl`: 交互预览见 https://jiguang132.com/zh/systems/jguang-ui/docs/components/base/skeleton

---

JGuang 全部资源索引: https://jiguang132.com/llms.txt
