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

@commercetools-uikit/stamp

Package Overview
Dependencies
Maintainers
3
Versions
825
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools-uikit/stamp

Stamps are visual labels which hold small amounts of information regarding an item. (E.g Indicating if a product is published in a list).

  • 0.0.0-canary-20240916105227
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7K
increased by14.99%
Maintainers
3
Weekly downloads
 
Created
Source

Stamp

Description

Stamps are visual labels which hold small amounts of information regarding an item. (E.g Indicating if a product is published in a list).

Installation

yarn add @commercetools-uikit/stamp
npm --save install @commercetools-uikit/stamp

Additionally install the peer dependencies (if not present)

yarn add react
npm --save install react

Usage

import Stamp from '@commercetools-uikit/stamp';

const Example = () => <Stamp tone="primary" label="Hello" />;

export default Example;

Properties

PropsTypeRequiredDefaultDescription
toneunion
Possible values:
, 'critical', 'warning', 'positive', 'information', 'primary', 'secondary'
'information'Indicates the color scheme of stamp
isCondensedbooleanfalseIf true, renders a condensed version of the stamp.
childrenReactNodeContent to render within the stamp. @deprecated in favor of label.
iconReactElementIcon to render beside (left) the stamp text.
labelstringText to render within the stamp.

Keywords

FAQs

Package last updated on 16 Sep 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