Collection of theme-ui and external components.
created:3/15/2021
updated:3/15/2021
source lines:61
comments %:0

Spinner

A

title
attribute should be provided to the component for accessibility purposes. The element uses
role='img'
by default. Pass any overrides or additional attributes for the SVG element as props.

Spinner variants can be defined anywhere in the

theme
object.

Overview

Loading...

({ size, strokeWidth }) => (
<Spinner size={size} strokeWidth={strokeWidth} />
)

Controls

Name
Description
Default
Controls
SVGAttributes (1 properties)
strokeWidth
TLengthStyledSystem
-
SpinnerProps (1 properties)

A11y tests

Loading...

Viewport

Loading...
320px

Loading...
375px

Loading...
768px

Loading...
1024px