Skip to content

ZSpinner

Loading spinner indicator

Example

Import

tsx
import { ZSpinner } from "zurto-ui";

Usage

tsx
import { ZSpinner } from "zurto-ui";

function Example() {
  return (
    <>
      <ZSpinner size="sm" />
      <ZSpinner size="md" />
      <ZSpinner size="lg" />
    </>
  );
}

Props

| Prop | Type | Default | Description | | ------- | -------- | ----------- | ------------- | ------ | ------------ | | size | 'sm' | 'md' | 'lg' | 'md' | Spinner size | | color | string | 'primary' | Spinner color |

Accessibility

  • ✅ Keyboard navigation support
  • ✅ ARIA attributes included
  • ✅ Screen reader friendly
  • ✅ Focus management

Released under the MIT License.