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

@snack-uikit/loaders

Package Overview
Dependencies
Maintainers
0
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snack-uikit/loaders

Индикация загрузки: полоса загрузки, спиннер и загрузчик- "солнышко"

  • 0.5.4-preview-c9b51578.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
196
decreased by-81.32%
Maintainers
0
Weekly downloads
 
Created
Source

Loaders

Installation

npm i @snack-uikit/loaders

Changelog

Example

import { ProgressBar, ProgressBarPage, Spinner, Sun } from "@snack-uikit/loaders";

<ProgressBar
  progress={20}
  size='xs'
/>

<ProgressBarPage
  inProgress={true}
  animationDuration={100}
  incrementDuration={500}
  minimum={0.2}
/>

<Spinner
  size='xs'
/>

<Sun
  size='l'
/>

ProgressBar

Компонент индикатор загрузки

Props

nametypedefault valuedescription
size*enum ValueOf<{ readonly S: "s"; readonly XS: "xs"; }>: "s", "xs"-Размер
progress*number-Процент загрузки от 0 до 100
classNamestring-CSS-класс

ProgressBarPage

Компонент индикатор загрузки страницы

Props

nametypedefault valuedescription
inProgress*boolean-Включен/выключен
animationDurationnumber200Скорость анимации
incrementDurationnumber800Время между прогрессом
minimumnumber-Минимальное значение прогресс бара от 0 до 1
classNamestring-CSS-класс

Spinner

Компонент спиннер

Props

nametypedefault valuedescription
sizeenum LoaderSize: "s", "xs", "m", "l"sРазмер
classNamestring-CSS-класс

Sun

Компонент спиннер

Props

nametypedefault valuedescription
sizeenum LoaderSize: "s", "xs", "m", "l"sРазмер
classNamestring-CSS-класс

FAQs

Package last updated on 24 Oct 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