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

@purpurds/badge

Package Overview
Dependencies
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@purpurds/badge

import { Meta, Stories, ArgTypes, Primary, Subtitle } from "@storybook/blocks";

  • 3.0.1
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

import { Meta, Stories, ArgTypes, Primary, Subtitle } from "@storybook/blocks";

import * as BadgeStories from "./src/badge.stories"; import packageInfo from "./package.json";

Badge

Version {packageInfo.version}

Showcase

Properties

Installation

Via NPM, in the monorepo

Add the dependency to your consumer app like "@purpurds/badge": "x.y.z"

Via NPM, outside the monorepo (build-time)

To install this package, you need to setup access to the new artifactory. Click here to go to the guide on how to do that.


In MyApp.tsx

import "@purpurds/badge/styles";

and

import "@purpurds/badge/styles";

In MyComponent.tsx

import { Badge } from "@purpurds/badge";

export const MyComponent = () => {
  return (
    <div>
      <Badge {...someProps}>Some content</Badge>
    </div>
  );
};

FAQs

Package last updated on 05 Mar 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