🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More
Socket
Book a DemoInstallSign in
Socket

@cloudflare/component-label

Package Overview
Dependencies
Maintainers
43
Versions
526
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/component-label

Cloudflare Label Component

npmnpm
Version
6.0.3
Version published
Weekly downloads
15K
-14.42%
Maintainers
43
Weekly downloads
 
Created
Source

@cloudflare/component-label

Cloudflare Label Component

Installation

Installation with yarn is recommended


$ yarn add @cloudflare/component-label

Usage

import React from 'react';
import { Label } from '../../src';

const LabelComponent = () => (
  <p>
    <Label type="default" mr={2}>
      Default
    </Label>
    <Label type="info" mr={2}>
      Info
    </Label>
    <Label type="success" mr={2}>
      Success
    </Label>
    <Label type="warning" mr={2}>
      Warning
    </Label>
    <Label type="error">Error</Label>
  </p>
);

export default LabelComponent;

FAQs

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