@uiw/github-corners
    TypeScript icon, indicating that this package has built-in type declarations

    1.5.14 • Public • Published

    @uiw/github-corners

    CI jsDelivr CDN NPM Downloads npm version Open in unpkg

    Add a Github corner to your project page, This GitHub corners for @react component. Visit https://uiwjs.github.io/react-github-corners to preview the example effects.

    Installation

    Add @uiw/github-corners to your project:

    npm i @uiw/github-corners

    Or load the ES module directly through unpkg

    unpkg.com CDN:

    <script type="module" src="https://unpkg.com/@uiw/github-corners?module"></script>

    Skypack CDN:

    <script type="module" src="https://cdn.skypack.dev/@uiw/github-corners"></script>

    Usage

    Import into your module script:

    import { GithubCorners } from "@uiw/github-corners";

    Use it in your HTML:

    <github-corners target="__blank" position="fixed" href="https://github.com/uiwjs/react-github-corners"></github-corners>

    Learn about web components here.

    Using web components in React:

    import React from 'react';
    import '@uiw/github-corners';
    
    function Demo() {
      return (
        <github-corners target="__blank" position="fixed" href="https://github.com/uiwjs/react-github-corners"></github-corners>
      );
    }

    Contributors

    As always, thanks to our amazing contributors!

    Made with action-contributors.

    License

    Licensed under the MIT License.

    Install

    npm i @uiw/github-corners

    DownloadsWeekly Downloads

    418

    Version

    1.5.14

    License

    MIT

    Unpacked Size

    13 kB

    Total Files

    6

    Last publish

    Collaborators

    • wcjiang