You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@commercetools-uikit/stamp

Package Overview
Dependencies
Maintainers
3
Versions
912
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).

20.2.2
latest
Source
npmnpm
Version published
Maintainers
3
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

javascript

FAQs

Package last updated on 08 Jul 2025

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