Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

React Ribbons

React Ribbons

A React NPM package with a lot of fancy and easy to use ribbons components.

Documentation

Installation

To install the package tou can use NPM or Yarn and run the following command

// NPM setup
npm install react-ribbons
// Yarn setup
yarn add react-ribbons

Example usage

import { RibbonContainer, RightCornerRibbon } from "react-ribbons";
const MyComponent = () => (
 <RibbonContainer className="custom-class">
 <RightCornerRibbon backgroundColor="#0088ff" color="#f0f0f0" fontFamily="Arial">
 Foo Bar
 </RightCornerRibbon>
 Lorem ipsum...
 </RibbonContainer>
);
export default MyComponent;

About

A fancy collection of ribbons components for React

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /