Go Main page
Go Main page

Web components

cover

components

Loader

v.1.0.0 | Saturn

Usage

import { Loader } from '@kubit-ui-web/react-components'
1
<Loader variant='PRIMARY_RED' width='48px' visible={true} />

Props

Let's delve into the versatility of the loader component by examining all its avalaible props.

PropertyVariantDefaultDescription
variant
Required
String-Variant
widthString-Loader width
positionString-Value associated to position css property
altTextString-Alternative text
aria-labelString-Loader aria label
aria-labelledbyString-Loader aria labelledby
aria-describedbyString-Loader aria describedby
dataTestIdStringloaderStandaloneTestIdId for testing
visibleBoolean-Show or hide the loader