# Loading URL: /patterns/loading Source: https://github.com/daangn/seed-design/blob/dev/docs/content/patterns/loading.mdx Introduces elements needed to manage loading, appropriate choices over time, and how to optimize user experience step by step. The basic approach to loading is to improve process speed. However, situations may arise where loading cannot be completely avoided. In such cases, it is important to provide information that clearly conveys to the user that loading is in progress and design a user experience that fits this. ## Components We utilize three main elements to effectively convey data loading status. | | Progress Circle | Progress Bar | Skeleton | | ------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | | **Form** | A circular loading indicator. | Displayed horizontally as a linear bar. | A shape that abstractly depicts the page's content structure, shown with a gray-toned background. | | **Characteristics** | Used mainly for processes that finish quickly, when there is no need to preview the concrete content layout in advance. | Suited to installs, uploads, downloads, and other continuous processes with a clear start and end. | Lets the user understand in advance the layout of content that is about to load, when long or complex data is loading. | | **Advantages** | Doesn't take up much screen space. A general-purpose method that can be easily applied to various situations. | Lets the user gauge roughly how much time remains. | Lets the user anticipate how the content will actually be arranged, reducing uncertainty while waiting. | | **Loading time** | Suited to short loads (within 1–4 seconds) | Suited to relatively long loading times (within 1–10 seconds), and even loading times of 10 seconds or more | Suited to relatively long loading times (within 1–10 seconds) | ### Progress Circle Progress Circle is an element that shows the loading state using a circle, and can be used in two ways depending on the loading type. | | Determinate Progress Circle | Indeterminate Progress Circle | | ------------ | ---------------------------------------------------------------------------- | ------------------------------------------------- | | **Purpose** | Visually indicates how much time remains until the loading process completes | Indicates that the loading process is in progress | | **Behavior** | Fills the circle from start to finish | Rotates continuously | Indeterminate loading indicators are used when the progress or duration of a process is variable or unknown. Progress Circle is also the most versatile element for expressing indeterminate loading. Determinate loading indicators can be used when the progress or duration of a process is known or can be estimated. Suited to processes likely to take a long time, such as downloads, uploads, and file conversion. ### Progress bar Progress Bar is an element that shows progress and loading state by animating along a straight track; at Karrot it is mainly used when loading is needed on entering an external link. ### Skeleton Skeleton is an element that visually conveys that content is loading, helping the user abstractly understand the screen's structure. This lets the user perceive that the actual content is loading faster. Skeleton is mainly used on screens based on repeating data, such as lists or card views, or on pages that can preview the structure of content that is about to appear. ## Use Cases Loading situations can be divided into several types depending on the case that occurs. At Karrot, the loading situations a user can experience can be divided as follows. ### On first entry A loading situation that occurs when a user accesses the service for the first time. Loading elements available: Progress Circle (Indeterminate), Skeleton ### On page transition A situation where new content is loaded when moving between pages. Generally in this case a loading state is shown across the whole screen. Loading elements available: Progress Circle (Indeterminate), Skeleton, Progress Bar ### When loading more information A case using infinite scroll or lazy loading, where additional content loads as the user scrolls the page. Loading elements available: Progress Circle (Indeterminate) ### On re-requesting data A situation where the user wants to receive new data; the most commonly experienced case is something like PTR (pull to refresh). Loading elements available: Progress Circle (Determinate) ### When saving or submitting input data A situation where loading occurs due to communication with the server when saving and submitting data, such as during login or an authentication process. Loading elements available: Progress Circle (Indeterminate), Loading Animation ### When a state has transitioned A situation such as fetching data needed for a new state from the server, or loading resources such as images or videos needed for a new state. Loading elements available: Progress Circle (Indeterminate), Skeleton ## Time-based Recommendations Loading elements should be chosen appropriately for the expected loading time; doing so minimizes discomfort for the user while waiting and provides a better user experience. Therefore it is important to use the appropriate element depending on the loading time. ### Within 1 second A time so short that the user cannot perceive loading. In this case, loading feels as if it did not occur to most users. Showing a loading element here can cause a flickering effect on the screen, which can actually degrade the user experience, so nothing is shown separately. Loading elements available: not recommended ### Within 1–4 seconds A short loading time where the user may feel a slight delay. A delay that is fast but perceptible may briefly draw the user's attention. Loading elements available: Progress Circle (Indeterminate), Skeleton ### Within 4–10 seconds A noticeably long wait, where the user may start to feel bored. Appropriate feedback and diversion of attention are needed. In this case it is recommended to provide the user with loading-related information. Loading elements available: Skeleton, Progress Circle (Indeterminate), Progress bar ### 10 seconds or more A time long enough that the user fully feels the wait; it's important to communicate progress and make the wait feel less tedious. It is recommended to provide an estimated time remaining so the user can recognize that the system has no problem. Loading elements available: Progress Circle (Determinate), Progress bar ### 1 minute or more If the loading process takes more than a minute, it's important to show clear progress. It's also good to consider offering a background-processing option, and to provide an option to cancel the loading process. Loading elements available: Progress Circle (Determinate), Progress bar ## Skeleton vs Progress Circle The reason Skeleton and Progress Circle (Spinner) get confused is that both elements indicate a loading state, but provide different user experiences. Accordingly, this section explains the difference between the two main loading UIs — Skeleton and Progress Circle — and how to use each appropriately. ### Use Case of Skeleton 1. When the layout is clear and a screen loads a variety of data For a product detail page with a clear layout made up of a combination of images and text, using Skeleton is appropriate. Because such pages have a fixed content structure with no major change after loading, using Skeleton lets the user easily and visually understand that the page is being prepared. 2. When you want to preview the structure of content that is about to appear In the comment area of a neighborhood-life detail page, comments generally have a repetitive shape, so Skeleton lets the user easily predict the structure of comments that are about to load. This lets the user easily imagine what content will be displayed. ### Use Case of Progress Circle 1. When the scope of loading is limited Progress Circle is suited to cases where space is limited and the scope of loading is limited. For example, if loading occurs while sending a message on a chat screen, a progress circle can be shown next to the conversation bubble where the loading occurs, indicating that the message is being sent. For cases expressed inside a button, see [Progress Circle](/components/progress-circle). ## Loading Process Steps Loading state is an essential part of the interaction between the user and the system, and providing appropriate feedback at each stage can improve the user experience. Loading state consists of the following stages. We'll explain each of these loading process stages using the "neighborhood verification scenario." ### Start stage Loading begins when the user starts a specific action, such as requesting a page or submitting data. At this point, initial feedback is provided to let the user know that loading has started. During neighborhood verification, the moment verification begins, a Progress Circle indicates that loading is in progress; it is not shown if loading completes within 1 second. ### Progress stage The stage where data transfer and server processing proceed. The user is continuously informed that loading is in progress, and if progress takes longer, it is expressed visually so the loading situation can be anticipated. During neighborhood verification, if 5 seconds pass after the first attempt to fetch location info, a message informs the user that loading is in progress. ### Complete stage When loading succeeds, a simple load does not need a completion message, while situations that need feedback may include a success indicator such as a success message. During neighborhood verification, once verification completes successfully, the corresponding neighborhood information is provided to the user based on the current location. ### Failure stage If loading fails, an error message should be shown explaining to the user what went wrong and what action they can take next. During neighborhood verification, if loading has not completed 10 seconds after it started, a failure message is shown, and the user is given an option to retry. ## Related Documents