Socket
Book a DemoInstallSign in
Socket

@aristobyte-ui/spinner

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aristobyte-ui/spinner

Flexible, highly customizable React Spinner component for AristoByteUI. Supports multiple variants, sizes, and animation types, designed for seamless integration with modern React projects and monorepos.

1.0.35
latest
Source
npmnpm
Version published
Weekly downloads
2.4K
254.03%
Maintainers
1
Weekly downloads
 
Created
Source

@aristobyte-ui/spinner

TypeScript TurboRepo ESLint License AristoByte UI Node.js >=20.17.0 Yarn >=1.22 NPM >=10.8

A modular, highly customizable React spinner component, optimized for AristoByteUI projects. Supports multiple animation types, semantic color variants, and flexible sizing.

📦 Installation

# Install via Yarn
yarn add -D @aristobyte-ui/spinner

# Or via npm
npm install -D @aristobyte-ui/spinner

# Or via pnpm
pnpm add -D @aristobyte-ui/spinner

🛠 Usage

import { Spinner } from "@aristobyte-ui/spinner";

export const Demo = () => (
  <div>
    <Spinner type="default" variant="primary" size="md" />
    <Spinner type="duo" variant="success" size="lg" />
    <Spinner type="pulse-duo" variant="error" size="sm" />
  </div>
);

| Prop | Type | Default | Description | | | - | -- | -- | | type | "default", "duo", "gradient", "pulse", "pulse-duo" | "default" | Defines the spinner animation style | | variant | "default", "primary", "secondary", "success", "error", "warning" | "default" | Semantic color variant | | size | "xsm", "sm", "md", "lg", "xlg" | "md" | Controls spinner dimensions | | className | string | "" | Optional additional class names |

📂 Presets Available

  • Types: default, duo, gradient, pulse, pulse-duo
  • Variants: default, primary, secondary, success, error, warning
  • Sizes: xsm, sm, md, lg, xlg

🔧 Example in a Package

import { Spinner } from "@aristobyte-ui/spinner";

export const LoadingState = () => (
  <div className="flex justify-center items-center">
    <Spinner type="gradient" variant="primary" size="lg" />
  </div>
);

📊 Why This Matters

  • Performance-first: Engineered with lightweight, GPU-accelerated CSS keyframes for smooth, non-blocking animations.
  • Fully typed: TypeScript-first API ensures strict type safety and predictable integration across multiple projects.
  • AristoByteUI ready: Fully interoperable with AristoByte’s design tokens, semantic color palette, and styling architecture.
  • Flexible: Supports multiple animation types, semantic variants, and responsive sizing to fit any UI scenario.

🏆 Philosophy

  • Modular architecture: Components are built for maximum reusability and composability.
  • Declarative styling: SCSS modules maintain a clean separation of concerns while leveraging design tokens.
  • Strict typing & runtime flexibility: Type-safe props with optional runtime overrides.
  • Developer experience optimized: Intuitive API with predictable behavior and minimal setup.

📜 License

MIT © AristoByte

🛡 Shields Showcase

Keywords

spinner

FAQs

Package last updated on 03 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.