Strongtie Design System
Getting StartedComponents

Search documentation

Search for a command to run or a page to navigate to.

Getting Started
  • Introduction
  • Setup Guide
  • Package Installation
  • Styles Only (CSS)
  • Code Quality Setup
  • Resources
Guides
  • Framework Recommendations
  • Design Standards
  • Design Standards Examples
AI-Assisted Development
  • AI Agent Guide
  • AI Agent Skills
  • AGENTS.md Template
Registry
  • Getting Started
  • Combobox
  • Datepicker
  • MultiSelect
  • Tab Nav
  • Tree
Foundations
  • States
  • Variables
Migrations
  • Migration Guide
  • CDN Migration Guide
  • Telerik Migration
Governance
  • Governance Model
  • Contribution Model
Components
  • Accordion
  • Alert
  • Alert Dialog
  • Avatar
  • Badge
  • Breadcrumb
  • Button
  • Button Group
  • Calendar
  • Card
  • Carousel
  • Chart
  • Checkbox
  • Collapsible
  • Combobox
  • Command
  • Context Menu
  • Date Picker
  • Dialog
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • Form
  • Hover Card
  • Input
  • Input Group
  • Input Otp
  • Item
  • Kbd
  • Label
  • Menubar
  • Multi Select
  • Navigation Menu
  • Pagination
  • Popover
  • Progress
  • Radio Group
  • Resizable
  • Scroll Area
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Skeleton
  • Slider
  • Sonner
  • Spinner
  • Switch
  • Tab Nav
  • Table
  • Tabs
  • Textarea
  • Toaster
  • Toggle
  • Toggle Group
  • Tooltip
  • Tree
2026 Simpson Strong-Tie
  1. Docs
  2. Components
  3. Spinner

Spinner

PreviousNext

Spinner is an animated loading indicator that shows ongoing processing or data fetching.

Spinners provide visual feedback that the application is working on a task, preventing users from thinking the interface has frozen or become unresponsive. They're particularly useful for short loading states where the duration is unpredictable but expected to be brief. Spinners create a sense of activity and progress even when precise completion information isn't available, helping maintain user confidence during asynchronous operations.

Use spinners for loading states that are expected to complete quickly (under 10 seconds) or when you can't show determinate progress. They work well inline with buttons, in empty states while content loads, or as overlays during form submissions. For longer operations, consider using a progress bar with percentage indicators instead. Spinners should be accompanied by descriptive text when possible to explain what's loading or processing.

Installation

npm install @strongtie/design-system
import { Spinner } from "@strongtie/design-system/spinner"

Props

All components accept standard HTML attributes and React props.

Example

import { Spinner } from "@strongtie/design-system/spinner"
 
export default function Example() {
  return <Spinner>{/* Your content here */}</Spinner>
}

Styling

Components can be styled using the className prop. The design system uses Tailwind CSS for styling.

Classes

CSS classes used by this component:

  • spinner

Accessibility

Ensure proper accessibility attributes are added when implementing this component.

SonnerSwitch

On This Page

InstallationPropsExampleStylingClassesAccessibility

Contribute

  • Report an issue
  • Request a feature
  • Edit this page