Skip to content

DoubleGrowingSpinner

Default spinner

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

Colors

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

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

Sizes

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

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

Speeds

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

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

API

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