Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@chakra-ui/skeleton

chakra-ui1.9mMIT2.1.0TypeScript support: included

React component to render a placeholders while you wait for content to load

skeleton, loading, shim, chakra ui, theme, theming, ui mode, ui

readme

@chakra-ui/skeleton

Skeleton page is used to provide a low fidelity representation of the user interface (UI) before content appears on the page

A skeleton screen is a user experience pattern that’s shown to reduce load time frustration. They create better “perceived performance”.

Installation

yarn add @chakra-ui/skeleton

# or

npm i @chakra-ui/skeleton

Import component

import { Skeleton } from "@chakra-ui/skeleton"

Usage

<Skeleton>
  <span>Chakra ui is cool</span>
</Skeleton>