Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

fork-me-react

mayank1513686MIT0.0.2TypeScript support: included

An intuitive React.js fork me ribbon component for promoting open source project forks.

fork me, fork-me, fork-me-react, fork-me-react18, fork-me-nextjs, fork-me-nextjs13, nextjs, nextjs13, react, react18, react-server-components, react-client-components, typescript, javascript

readme

Fork Me React.js component Version Downloads Unit Tests npm bundle size

A simple fork me component for React.js projects!

Install

$ pnpm add fork-me-react
# or
$ npm install fork-me-react
# or
$ yarn add fork-me-react

Add on your page

<ForkMe href="https://github.com/mayank1513/turbo-template" />

Optional parameters

    text?: string; // replace the Fork me on GitHub text
    width?: string | number; // if you need to adjust the width of the ribbon (length)
    height?: string | number; // to adjust height of the ribbon
    bgColor?: string; // background color
    textColor?: string; // text color

This package also serves as an example to demonstrate how to build and publish React.js library compatible with React Server Components