# Skeleton URL: /lynx/components/skeleton Source: https://github.com/daangn/seed-design/blob/dev/docs/content/lynx/components/skeleton.mdx A UI element that displays the outline of elements to appear while content is loading, making the loading time feel shorter. Lynx Engine 최소 버전: 3.6 사용 가능 버전: @seed-design/lynx-react@0.8.0, @seed-design/lynx-css@0.12.0 ## Preview ```tsx import "./styles"; import { Skeleton, useSeedClassName, VStack } from "@seed-design/lynx-react"; export default function Example() { const seedClassName = useSeedClassName({ colorMode: "system" }); return ( ); } ``` ## Installation - npm: npm install @seed-design/lynx-react @seed-design/lynx-css - pnpm: pnpm add @seed-design/lynx-react @seed-design/lynx-css - yarn: yarn add @seed-design/lynx-react @seed-design/lynx-css - bun: bun add @seed-design/lynx-react @seed-design/lynx-css Lynx `Skeleton` is provided directly from the `@seed-design/lynx-react` package without a separate `ui:skeleton` snippet. ## Usage ```tsx import { Skeleton } from "@seed-design/lynx-react"; ``` ```tsx ``` ## Props ## Examples ### Radius ```tsx import "./styles"; import { HStack, Skeleton, useSeedClassName } from "@seed-design/lynx-react"; export default function Example() { const seedClassName = useSeedClassName({ colorMode: "system" }); return ( ); } ``` ### Tone ```tsx import "./styles"; import { Skeleton, useSeedClassName, VStack } from "@seed-design/lynx-react"; export default function Example() { const seedClassName = useSeedClassName({ colorMode: "system" }); return ( ); } ``` ## Differences from Web Version - The web renders shimmer with HTML `
` and CSS pseudo-element, while Lynx renders a native `` root and shimmer child. - Lynx treats Skeleton as a decorative element and hides the root and shimmer child from the accessibility tree with `accessibility-elements-hidden`. - The Lynx public API provides `radius`, `tone`, `width`, `height`, `className`, `style`, and root `` ref, but does not provide children, events, or state APIs.