Skip to content

LIENZO / LOADING STUDIO

Design a wait
that makes sense.

Purposeful skeletons, indicators, and progress. Refine the design, try every state, and bring your interface a component that informs as well as moves.

09 patterns / 04 states

Native. No dependencies.
01 /

Give waiting its shape

Skeletons

Card skeleton

LIVE PREVIEW

Preparing your content…

Try a state

Choose a pattern, refine the design, and try its states.

How to try this component

Anticipate image, heading, and content.

The percentage should represent real data from your app. Here, you can explore its presentation.

FROM START TO OUTCOME

A local simulation to test the experience. It does not measure a real task.

02 / WAITING LIBRARY

The right gesture.
In its context.

Nine starting points for a clearer interface. Each one can be customized, tested, and brought into your project.

9 patterns available

03 / FROM STUDIO TO INTERFACE

One component.
All the code.

Separate markup, styles, and behavior. Download a standalone example or keep your settings for the next session.

NATIVE CODE / MIT
<!-- Static example. Enable JavaScript to customize the component. -->
<div class="loading-region" aria-busy="true">
  <div class="loading-skeleton" aria-hidden="true"></div>
</div>
<p role="status">Preparing your content…</p>

Continue where you left off.The JSON project keeps your pattern, messages, and settings.

04 / DESIGN INTENT

Waiting is part
of the experience.

A good interface communicates what is happening, what is left, and what you can do next. Motion supports that message.

Explore CSS components
01 / STRUCTURE

Reserve space. Keep the context.

A skeleton should resemble the content that will arrive. Keep its height stable and its hierarchy recognizable to reduce layout shifts and preserve continuity.

02 / INFORMATION

A percentage is a commitment.

If you cannot calculate progress, use an indeterminate indicator. When you can, keep the visual value, text, and accessibility attributes synchronized. Confirm an outcome with an explicit state.

When should I use each pattern?

A skeleton previews a known layout; an indeterminate indicator communicates activity when you have no reliable measure. Use a progress bar or percentage ring only when your app knows the actual progress. Avoid unnecessary indicators for immediate responses.

Does the simulation represent a real download?

No. Simulate demo runs a local sequence to review the waiting and final states. It does not measure network activity, files, or server tasks. In your app, connect setProgress to real progress and use setState to communicate the outcome.

What is exported, and how do I integrate it?

The separate HTML, CSS, and JavaScript match the same configuration. Insert the markup, add the styles, and load the runtime once. LienzoLoading.mount(element) returns setState, setProgress, setPaused, simulate, cancel, and destroy. The HTML example combines everything in one file and needs no CDN. Fonts use system fallbacks when unavailable.

How is the state communicated accessibly?

aria-busy identifies the region that is waiting. The status message sits outside that region so it can be announced. Known progress includes a synchronized aria-valuenow; indeterminate progress omits it. Decorative skeletons are hidden from assistive technology. Check the text in the context of your interface.

What happens with reduced motion and pause?

Reduced motion keeps indicators still while retaining their text information. Pause controls the animation and local simulation, not an external task in your app. The runtime also suspends the demo when the component is not visible. Keep the text that explains the wait.

Does 100% progress mean success?

Not by itself. setProgress(100) updates the value; setState('success') confirms the outcome. This lets you validate or finalize a task before showing it as complete. The error state includes a text explanation and retry action; connect that action to your app's logic.

What does the JSON project save?

It saves the pattern and settings so you can reopen them in Loading Studio. It contains no accounts, user files, operation data, or cloud synchronization. Accepted project files have a maximum size of 64 KiB and a known versioned schema.