Skeleton
Skeleton
jsx
import Skeleton from '@semcore/ui/skeleton';
<Skeleton />;SkeletonProps
& & {...}| Name | Type | Description |
|---|---|---|
| hidden | boolean | Skeleton visibility control property |
| duration | string | number | Animation speed in ms |
| theme | "dark" | "invert" | Skeleton theme |
| locale | string | Specifies the locale for i18n support |
| observeParentSize | boolean | Enable ResizeObserver for parent Element to recalculate skeleton size. |
Skeleton.Text
jsx
import Skeleton from '@semcore/ui/skeleton';
<Skeleton.Text />;SkeletonTextProps
& {...}| Name | Type | Description |
|---|---|---|
| amount | string | number | Number of items to be returned |
LineChartSkeleton
jsx
import { LineChartSkeleton } from '@semcore/ui/skeleton';LineChartSkeletonProps
& {...}| Name | Type | Description |
|---|---|---|
| type | "linear" | "monotone" | Controls the line interpolation style for the skeleton pattern |
AreaChartSkeleton
jsx
import { AreaChartSkeleton } from '@semcore/ui/skeleton';AreaChartSkeletonProps
& {...}| Name | Type | Description |
|---|---|---|
| type | "linear" | "monotone" | Controls the area curve interpolation style for the skeleton pattern |
BarChartSkeleton
jsx
import { BarChartSkeleton } from '@semcore/ui/skeleton';BarChartSkeletonProps
& {...}| Name | Type | Description |
|---|---|---|
| layout | "horizontal" | "vertical" | Controls the orientation of the bar chart skeleton |
HistogramChartSkeleton
jsx
import { HistogramChartSkeleton } from '@semcore/ui/skeleton';HistogramChartSkeletonProps
& {...}| Name | Type | Description |
|---|---|---|
| layout | "horizontal" | "vertical" | Controls the orientation of the histogram chart skeleton |
DonutChartSkeleton
jsx
import { DonutChartSkeleton } from '@semcore/ui/skeleton';DonutChartSkeletonProps
& {...}| Name | Type | Description |
|---|---|---|
| halfsize | boolean | Semi donut |
BubbleChartSkeleton
jsx
import { BubbleChartSkeleton } from '@semcore/ui/skeleton';ScatterPlotChartSkeleton
jsx
import { ScatterPlotChartSkeleton } from '@semcore/ui/skeleton';VennChartSkeleton
jsx
import { VennChartSkeleton } from '@semcore/ui/skeleton';RadialTreeChartSkeleton
jsx
import { RadialTreeChartSkeleton } from '@semcore/ui/skeleton';