🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@rain-cafe/ribbon

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rain-cafe/ribbon

A simple react ribbon~

latest
npmnpm
Version
1.0.3
Version published
Maintainers
2
Created
Source

NPM Version NPM Downloads Coveralls

CI Build Maintainability Semantic Release Code Style: Prettier

@rain-cafe/ribbon

Preview

Example

Usage

import { Ribbon } from '@rain-cafe/ribbon';

export function MyApp() {
  return (
    <div>
      My super cool content.
      <Ribbon>Local</Ribbon>
    </div>
  );
}

Properties

NameDescriptionOptional?
childrenThe contents of the ribbonYes
colorThe font colorYes (defaults to black)
backgroundColorThe background colorYes (defaults to white)
positionThe positioning of the ribbonYes (defaults to top-right)

Want to Contribute?

FAQs

Package last updated on 20 Jan 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