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

@chakra-ui/spinner

Package Overview
Dependencies
Maintainers
4
Versions
389
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/spinner

A React component for displaying spinners and loaders

  • 1.0.0-next.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
205K
decreased by-58.23%
Maintainers
4
Weekly downloads
 
Created
Source

@chakra-ui/spinner

Spinners provide a visual cue that an action is processing, awaiting a course of change or a result.

Installation

yarn add @chakra-ui/spinner

# or

npm i @chakra-ui/spinner

Import component

import { Spinner } from "@chakra-ui/spinner"

Usage

<Spinner />

Spinner with different sizes

Change the size of the spinner by passing the size prop.

<>
  <Spinner size="xs" />
  <Spinner size="sm" />
  <Spinner size="md" />
  <Spinner size="lg" />
  <Spinner size="xl" />
</>

Spinner with color

Change the background color of the moving section of the spinner by passing the color prop.

<Spinner color="red.500" />

Spinner with empty area color

Change the background color of the spinner by passing the emptyColor prop.

<Spinner color="red.500" emptyColor="gray.200" />

Spinner with different speed

Change the spinner's animation speed area by passing the speed prop. The unit of the value matches the animation-duration CSS property property.

<Spinner color="red.500" emptyColor="gray.200" speed="0.65s" />

Keywords

FAQs

Package last updated on 26 Jul 2020

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