Socket
Socket
Sign inDemoInstall

@snack-uikit/status

Package Overview
Dependencies
6
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @snack-uikit/status

Индикация статуса (точка или точка с текстом)


Version published
Weekly downloads
12
decreased by-20%
Maintainers
3
Install size
108 kB
Created
Weekly downloads
 

Readme

Source

Status

Installation

npm i @snack-uikit/status

Changelog

Example

import { Status, StatusIndicator } from '@snack-uikit/status';

<Status 
  label="Text after status"
  appearance='pink'
  size='xs'
  hasBackground={true}
/>

<StatusIndicator
  appearance='violet'
  size='l'
/>

Status

Props

nametypedefault valuedescription
label*string-Текст
sizeenum Size: "xs", "s"xsРазмер
appearanceenum Appearance: "primary", "neutral", "red", "orange", "yellow", "green", "blue", "violet", "pink"primaryВнешний вид
hasBackgroundboolean-Наличие фона
classNamestring-CSS-класс

StatusIndicator

Props

nametypedefault valuedescription
sizeenum Size: "xs", "s", "xxs", "m", "l"mРазмер
appearanceenum Appearance: "primary", "neutral", "red", "orange", "yellow", "green", "blue", "violet", "pink"primaryВнешний вид
classNamestring-CSS-класс

FAQs

Last updated on 23 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc