Skip to content

ChaseSpinner

Default spinner

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

Colors

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

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

Sizes

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

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

Speeds

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

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

API

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