@rocktimsaikia/github-card

3.0.1 • Public • Published

github-card 🌈

Beautiful embeddable github profile card for your portfolio.
Here is a live codepen Demo

CI npm version

Highlights

  • Tiny and Zero dependencies (~4kb)
  • Simple and easy to use
  • Minimal and neat design
  • Dark theme available

Installation

Available on npm as @rocktimsaikia/github-card.

npm install @rocktimsaikia/github-card

or with yarn

yarn add @rocktimsaikia/github-card

Usage

Since this an ESM web component, you can use it both as a script or through installation.

import '@rocktimsaikia/github-card'

<github-card data-user="rocktimsaikia"></github-card>

Or use it as a script in a html file :

<script type="module" src="https://unpkg.com/@rocktimsaikia/github-card@latest?module"></script>

Theme

You can enable the optional dark theme by setting the data-theme attribute to dark

<github-card data-user="rocktimsaikia" data-theme="dark"></github-card>

License

2021 © MIT Rocktim Saikia

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i @rocktimsaikia/github-card

    Weekly Downloads

    53

    Version

    3.0.1

    License

    MIT

    Unpacked Size

    9.17 kB

    Total Files

    4

    Last publish

    Collaborators

    • rocktimsaikia