# Skeleton URL: /components/skeleton Source: https://github.com/daangn/seed-design/blob/dev/docs/content/components/skeleton.mdx A UI element that shows the outline of elements that will appear while content is loading, making loading time feel shorter. ## Anatomy ![Skeleton Anatomy image. Composed of Background and Corner Radius.]() Skeleton consists of background and corner radius, with shimmer animation appearing when loading starts. ## Properties ### Size ![Skeleton Size - Width and Height can be freely adjusted.]() Skeleton width (Width) and height (Height) can be freely adjusted. Adjust to reflect the actual size of content to be displayed. ### Radius ![Skeleton Radius Property - 0, 8, 16, 9999]() Skeleton Radius value uses 0, 8, 16, 9999 depending on the form of content to be expressed. | Content type | Radius | | ------------------------------------------- | ------ | | **Text** | 8 | | **Cards and thumbnails** | 16 | | **[Avatar](/components/avatar) (circular)** | 9999 | ### Tone ![Skeleton Tone Property - Neutral, Magic]() General content uses neutral, while AI-powered content uses magic style. ### Animation ![Skeleton Animation - Shimmer animation]() Skeleton provides shimmer animation by default to indicate loading is in progress. Check Skeleton's Shimmer animation through Crispy React Skeleton. ## Guidelines ### Using Skeleton ![Skeleton usage example - application in search screen]() ![Skeleton usage example - application in post detail screen]() Skeleton is mainly used on screens with repeating data-based layouts like lists or card views, or on pages where you can preview the structure of content that will soon appear. **For detailed criteria on when to use Skeleton, refer to the loading guide.** ### Using Tone appropriately for the situation ![Tone usage example - Neutral]() ![Tone usage example - Magic]() Skeleton is displayed in different colors depending on the type of data. Please select and use the Tone appropriate for the context. | Tone | Usage situation | | ----------- | ----------------------------------------------------------------------------------- | | **Neutral** | Displayed during typical loading experience when fetching data. | | **Magic** | Appears when AI features are activated, such as automatically filling empty spaces. | **For detailed information on AI loading, refer to the AI UI guide.** ### Skeleton vs. Progress Circle ![Example of using Skeleton to show loading state]() ![Example of using Progress Circle to show loading state]() Skeleton and [Progress Circle](/components/progress-circle) can often be confused because they share the common characteristic of showing content loading state. The key difference is that Skeleton shows the structure of what will load, while [Progress Circle](/components/progress-circle) communicates the state of "loading now" itself. | | **Skeleton** | **Progress Circle (Indeterminate)** | | ------------------ | ------------------------------------------------------------- | ------------------------------------------------------------------------ | | **Primary use** | Preview content structure in advance | Indicates system is operating regardless of content form | | **Position** | Displayed in the area where content will actually appear | Displayed in center of specific area (component) or across entire screen | | **Characteristic** | When loading wide-area content at once or repeating content | When loading due to specific action like data saving or partial refresh | | **Loading time** | Suitable for relatively long loading (within 1-10 seconds) | Suitable for short loading (within 1-4 seconds) | | **Animation** | Shimmer animation appears expressing content will appear soon | Continuous rotating animation appears | ## Specification Component spec (JSON): /rootage/components/skeleton.json