Spinner Node

Spinners provide a visual cue that an action is processing or a result is being awaited.

Use spinners to indicate loading states, processing states, and other transition states.

Properties

Visible

PropspinnerNode.isVisible
Typeboolean
Default{{true}}

Whether or not this node is visible.

Enabled

PropspinnerNode.isEnabled
Typeboolean
Default{{true}}

Whether or not this node is enabled.

Tooltip

PropspinnerNode.tooltip
Typestring
Defaultundefined

The tooltip text to display when hovered or focused over this node.

Top

PropspinnerNode.top
Typestring
Default1

The position of the node from the top side of the grid (grid-row-start).

Left

PropspinnerNode.left
Typestring
Default1

The position of the node from the left side of the grid (grid-column-start).

Width

PropspinnerNode.width
Typestring
Default50px

The width of the node. When this node is in a grid layout, this should be done using unitless grid column units (specifying 4 will become grid-column-end: span 4). When this node is in a stack layout, the width must be specified using CSS units (e.g. 100px or 100%).

Min Width

PropspinnerNode.minWidth
Typestring
Defaultnone

The minimum width of the node. When this node is in a grid layout, this property is ignored.

Max Width

PropspinnerNode.maxWidth
Typestring
Defaultnone

The maximum width of the node. When this node is in a grid layout, this property is ignored.

Height

PropspinnerNode.height
Typestring
Default50px

The height of the node. When this node is in a grid layout, this should be done using unitless grid row units (specifying 4 will become grid-row-end: span 4). When this node is in a stack layout, the height must be specified using CSS units (e.g. 100px or 100%).

Min Height

PropspinnerNode.minHeight
Typestring
Defaultnone

The minimum height of the node. When this node is in a grid layout, this property is ignored.

Max Height

PropspinnerNode.maxHeight
Typestring
Defaultnone

The minimum height of the node. When this node is in a grid layout, this property is ignored.

Overflow

PropspinnerNode.overflow
TypeOverflow ('auto' | 'visible' | 'hidden' | 'scroll')
Defaultauto

The strategy used to handle overflow in the horizontal and vertical axes for content that is larger than its container.

Overflow X

PropspinnerNode.overflowX
TypeOverflow ('auto' | 'visible' | 'hidden' | 'scroll')
Defaultauto

The strategy used to handle overflow in the horizontal axis for content that is larger than its container.

Overflow Y

PropspinnerNode.overflowY
TypeOverflow ('auto' | 'visible' | 'hidden' | 'scroll')
Defaultauto

The strategy used to handle overflow in the vertical axis for content that is larger than its container.

Custom Styles

PropspinnerNode.styles
Typestring
Defaultelement.styles { }

Custom CSS styles to be applied to the node. Use element.styles to refer to the current node.

Size

PropspinnerNode.size
TypeSpinnerSize ('xs' | 'sm' | 'md' | 'lg' | 'xl')
Defaultmd

The size of the spinner.

Thickness

PropspinnerNode.thickness
Typestring
Default2px

The thickness of the spinner.

Speed

PropspinnerNode.speed
Typestring
Default0.5s

The speed of the spinner.

Spinner Color

PropspinnerNode.color
Typestring
Defaulttext.primary

The main color of the spinner.

Empty Color

PropspinnerNode.emptyColor
Typestring
Defaulttransparent

The color of the empty area in the spinner.