apps/www/content/docs/components/skeleton.mdx
import { Skeleton, SkeletonCircle, SkeletonText } from "@chakra-ui/react"
<Stack gap="6" maxW="xs">
<HStack width="full">
<SkeletonCircle size="10" />
<SkeletonText noOfLines={2} />
</HStack>
<Skeleton height="200px" />
</Stack>
Use the Skeleton component to create a feed skeleton.
Use the SkeletonText component to create a skeleton for text.
Use the loading prop to show the skeleton while the content is loading.
Use the variant prop to change the visual style of the Skeleton.
When loading is changed to false, the Skeleton component will fade in.
Use the --start-color and --end-color CSS variables to change the start and
end color of the skeleton.