shimmer

RSE

React Shimmer Bar Chart Component - Light, Dark & Custom Modes

Enhance your web applications with the dynamic Shimmer Bar Chat Component, available in light and dark modes with customizable sizes.


Shimmer Bar Chart Light Mode

<ShimmerBarChart mode="light" chartType="linear" barWidth={"7%"} />

<ShimmerBarChart mode="light" chartType="random" barWidth={"7%"} />

Shimmer Bar Chart Dark Mode

<ShimmerBarChart mode="dark" chartType="linear" barWidth={"7%"} />

<ShimmerBarChart mode="dark" chartType="random" barWidth={"7%"} />

Shimmer Bar Chart Custom Mode

<ShimmerBarChart mode="custom" chartType="linear" barWidth={"7%"} from="#7c3aed" via="#8b5cf6" to="#7c3aed" lineColor="#8b5cf6" />

<ShimmerBarChart mode="custom" chartType="random" barWidth={"7%"} from="#7c3aed" via="#8b5cf6" to="#7c3aed" lineColor="#8b5cf6" />

Shimmer Bar Chart Loading Mode

<ShimmerBarChart mode="custom" chartType="random" barWidth={"7%"} from="#7c3aed" via="#8b5cf6" to="#7c3aed" lineColor="#8b5cf6" loading={loading}>
<Chart />
</ShimmerBarChart>

Properties

PropertyTypeRequiredDefault valueDescription
barWidthnumber | stringNo7%The bar width of the chart.
chartType"linear" | "random"Yes-The chart type.
loadingbooleanNotrueWhether the button is in a loading state.
childrenReactElementNo-Element to load after loading false
mode"light" | "dark" | "custom"Yes-The mode of the button (light, dark, or custom).
lineColor, from, via, tostringYes (for mode "custom")-The colors used in custom mode.

Take it further

Take full advantage of React Shimmer Effect by experimenting with its extensive features and customization options

Previous

Table