🎉 Black Friday deal! 25% off your first year of CodyHouse Pro →


Progress value is 30%

Skeleton Screen

Content placeholder used to indicate that content is loading.

Copy: View demo


All components are based on CodyFrame.

This component includes variations. All variations share the same SCSS/JS code. They only differ in their HTML.

How to

The Skeleton Screen component is a low-fidelity UI used to indicate the content is loading, intending to reduce the end-user's perceived waiting time.

Primitives #

Use this component to design the skeleton screen, using one of the following primitives:

⚪️ Circle

<div class="ske ske--circle"></div>

⬜️ Rectangle

<!-- rectangle ratio = 16/9 -->
<div class="ske ske--rect-16:9"></div>

<!-- rectangle ratio = 4/3 -->
<div class="ske ske--rect-4:3"></div>

<!-- rectangle ratio = 1/1 -->
<div class="ske ske--square"></div>

<!-- rectangle w/ fixed height (use CodyFrame's height util classes) -->
<div class="ske ske--rect height-xxl"></div>

⬜️ Text

<!-- text -->
<div class="ske ske--text"></div>

<!-- increase text placeholder height (use CodyFrame's text util classes) -->
<div class="ske ske--text text-lg"></div>

How to create the layouts #

Use CodyFrame's grid and flexbox utility classes to create responsive layouts.

For example:

<ul class="grid gap-xs items-center">
  <li class="col-2">
    <div class="ske ske--circle"></div>

  <li class="col-10">
    <ul class="grid gap-xxs">
      <li class="col-8">
        <div class="ske ske--text"></div>

        <div class="ske ske--text text-sm"></div>

Hide/display content #

The main idea is to show the skeleton right away, while your "real data" is being loaded. When the loading is finished, you should hide the placeholder and show the real content. How you hide/display content depends on the project setup. An option would be using CodyFrame's visibility classes (.is-visible/.is-hidden).

✅ Project duplicated

✅ Project created

There was an error while trying to export your project. Please try again or contact us