Skip to content

Automattic Design System

    • Automattic Design System
    • Get started
      • System architecture
    • Icons
    • Library
    • Foundations
  • Components

Components

  • Autocomplete

  • Badge

  • BaseControl

  • Button

  • Calendar

  • Card

  • CheckboxControl

  • Collapsible

  • CollapsibleCard

  • ColorIndicator

  • ColorPalette

  • ColorPicker

  • ComboboxControl

  • Composite

  • ConfirmDialog

  • CustomSelectControl

  • DataForm

  • DataViews

  • DataViewsPicker

  • Disabled

  • Dropdown

  • DropZone

  • EmptyState

  • Field

  • Fieldset

  • FormFileUpload

  • FormToggle

  • FormTokenField

  • GradientPicker

  • Icon

  • Input

  • InputControl

  • InputLayout

  • ItemGroup

  • KeyboardShortcuts

  • Link

  • MenuGroup

  • MenuItem

  • MenuItemsChoice

  • Modal

  • Navigator

  • Notice

  • Popover

  • ProgressBar

  • RadioControl

  • RangeCalendar

  • RangeControl

  • ResizableBox

  • SandBox

  • ScrollLock

  • SearchableChipSelect

  • SearchableChipSelectControl

  • SearchControl

  • Select

  • SelectControl

  • Shortcut

  • Skeleton

  • Slot

  • Snackbar

  • Spinner

  • Stack

  • Tabs

  • Text

  • Textarea

  • TextareaControl

  • TextHighlight

  • ToggleControl

  • ToggleGroupControl

  • Tooltip

  • TreeGrid

  • TreeSelect

  • Truncate

  • UnitControl

  • ValidityIndicator

  • VisuallyHidden

Spinner

A component used to notify users that their action is being processed.

import { Spinner } from '@wordpress/ui';

LinksPermalink to this section#

View on Storybook

View source on GitHub

ExamplesPermalink to this section#

DefaultPermalink to this section#

const Default = () => <Spinner />;

Custom SizePermalink to this section#

const CustomSize = () => <Spinner
    style={{
        width: 'var(--wpds-dimension-size-lg)',
        height: 'var(--wpds-dimension-size-lg)',
    }} />;
←RangeCalendar
Input→

Designed with WordPress

  • WordPress Components Storybook ↗