Socket
Socket
Sign inDemoInstall

@commercetools-uikit/stamp

Package Overview
Dependencies
8
Maintainers
3
Versions
740
Alerts
File Explorer

Advanced tools

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).


Version published
Weekly downloads
5.7K
increased by23.37%
Maintainers
3
Created
Weekly downloads
 

Readme

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. This property has been 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 08 Jul 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc