Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@uiw/github-corners

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/github-corners

Add a Github corner to your project page, This GitHub corners for web component.

Source
npmnpm
Version
1.5.5
Version published
Weekly downloads
3.8K
-2.61%
Maintainers
1
Weekly downloads
 
Created
Source

@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>

JSPM CDN:

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

Usage

Import into your module script:

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

Use it in your HTML:

<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></github-corners>
  );
}

Contributors

As always, thanks to our amazing contributors!

Made with action-contributors.

License

Licensed under the MIT License.

Keywords

web-component

FAQs

Package last updated on 28 Mar 2022

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