Skip to content

EllipsisSpinner

Default spinner

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

Colors

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

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

Sizes

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

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

Speeds

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

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

API

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