Overview

Installation

npm install @rhds/elements

Slots

Default Slot

Optional text label below the animated circle.

Attributes

color-palette

Sets color palette, which affects the element's styles as well as descendants' color theme. Overrides parent color context. Your theme will influence these colors so check there first if you are seeing inconsistencies. See CSS Custom Properties for default values

DOM Property
colorPalette
Type
ColorPalette | undefined
Default
unknown
size

Preset sizes for the spinner

DOM Property
size
Type
SpinnerSize
Default
'lg'

Methods

None

Events

None

© 2021-2023 Red Hat, Inc. Deploys by Netlify