Skip to content

A simple react ribbon~

Notifications You must be signed in to change notification settings

ribbon-studios/ribbon

Repository files navigation

NPM Version NPM Downloads Coveralls

CI Build Maintainability Semantic Release Code Style: Prettier

@ribbon-studios/ribbon

Preview

Example

Usage

import { Ribbon } from '@ribbon-studios/ribbon';

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

Properties

Name Description Optional?
children The contents of the ribbon Yes
color The font color Yes (defaults to black)
backgroundColor The background color Yes (defaults to white)
position The positioning of the ribbon Yes (defaults to top-right)

Want to Contribute?

About

A simple react ribbon~

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project