パッケージの詳細

@chakra-ui/skeleton

chakra-ui1.8mMIT2.1.0

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

skeleton, loading, shim, chakra 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>