Skip to content

SkeletonLoader

Use ESkeletonLoader component provides a smooth loading experience by displaying placeholder content while data is being fetched. Demo Here

Import

jsx
import ESkeletonLoader from "@components/Elements/ESkeletonLoader";

Usage

jsx
<ESkeletonLoader variant='line'/>

Props

For ESkeletonLoader component, the following props are available:

PropTypeDefaultNote
listItemsNumber5Specifies the number of list items.
tableColsNumber5Specifies the number of table columns.
tableRowsNumber5Specifies the number of table rows.
avatarSizeString"md"The avatar variant of ESkeletonLoader element has three predefined sizes: sm, md, lg.
variantString"paragraph"The ESkeletonLoader element can be represented in many ways. @values: paragraph, line, circle, image, avatar, card, list, table-simple, table-avatar
classNameString-Overrides or extends the component's styles.

COPYRIGHT