Components组件Base UIBase UI 组件
骨架屏
在内容加载时预览即将出现的结构。
中文模式已适配导航、标题、简介、目录与常用章节名称。翻译状态:部分完成;技术正文目前仍为英文。
Loading JGuang UI example…
安装
Command
Manual
Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.
将以下代码复制到你的项目中。
View complete source: components/ui/skeleton.tsx
根据项目配置更新导入路径。
用法
import { Skeleton } from "@/components/ui/skeleton"
<Skeleton className="h-[20px] w-[100px] rounded-full" />
Avatar
Loading JGuang UI example…
Card
Loading JGuang UI example…
Text
Loading JGuang UI example…
Form
Loading JGuang UI example…
Table
Loading JGuang UI example…
从右到左布局
To enable RTL support in JGuang UI, see the RTL configuration guide.
Loading JGuang UI example…
来源: components/base/skeleton.mdx
JGuang UI 技术文档。