Skip to content

BarsBounce2Spinner

Default spinner

Show code
default.tsx
import { BarsBounce2Spinner } from "@hrc/spinner";
export function BarsBounce2SpinnerDefault() {
return <BarsBounce2Spinner />;
}

Colors

Use the color prop to change the color of the spinner.

Show code
colors.tsx
import { BarsBounce2Spinner } from "@hrc/spinner";
export function BarsBounce2SpinnerColors() {
return (
<>
<BarsBounce2Spinner color="primary" />
<BarsBounce2Spinner color="secondary" />
<BarsBounce2Spinner color="error" />
<BarsBounce2Spinner color="info" />
<BarsBounce2Spinner color="warning" />
<BarsBounce2Spinner color="success" />
</>
);
}

Sizes

Set the size prop to change the size of the spinner.

Show code
sizes.tsx
import { BarsBounce2Spinner } from "@hrc/spinner";
export function BarsBounce2SpinnerSizes() {
return (
<>
<BarsBounce2Spinner color="primary" size="small" />
<BarsBounce2Spinner color="secondary" />
<BarsBounce2Spinner color="error" size="large" />
</>
);
}

Speeds

Set the speed prop to change the speed of the spinner.

Show code
speeds.tsx
import { BarsBounce2Spinner } from "@hrc/spinner";
export function BarsBounce2SpinnerSpeeds() {
return (
<>
<BarsBounce2Spinner color="info" speed="slow" />
<BarsBounce2Spinner color="warning" />
<BarsBounce2Spinner color="success" speed="fast" />
</>
);
}

API

See documentation below for reference to all of the props, classes and CSS variables (custom properties) available for <BarsBounce2Spinner />: