Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@commercetools-uikit/loading-spinner

Package Overview
Dependencies
Maintainers
3
Versions
839
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools-uikit/loading-spinner

A spinner animation to indicate loading state (e.g pending requests) for the user.

  • 19.16.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.3K
decreased by-3.56%
Maintainers
3
Weekly downloads
 
Created
Source

LoadingSpinner

Description

A spinner animation to indicate loading state (e.g pending requests) for the user.

Installation

yarn add @commercetools-uikit/loading-spinner
npm --save install @commercetools-uikit/loading-spinner

Additionally install the peer dependencies (if not present)

yarn add react
npm --save install react

Usage

import LoadingSpinner from '@commercetools-uikit/loading-spinner';

const Example = () => <LoadingSpinner size="s">Loading</LoadingSpinner>;

export default Example;

Properties

PropsTypeRequiredDefaultDescription
maxDelayDurationnumber1000Set the amount of time to delay the loading spinner before it renders. The default value of is 1000ms.
scaleunion
Possible values:
's' , 'l'
'l'Set the size of the loading spinner.
childrenReactNodeThe content rendered inside the LoadingSpinner.

Keywords

FAQs

Package last updated on 14 Nov 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc