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

0.1.3 • Public • Published

github-corner component in vue 3

usage

<script setup lang="ts">
import { GithubCorner } from '@vfup/github-corner'
import '@vfup/github-corner/dist/style.css'
</script>

<template>
  <GithubCorner />
</template>

props

Name Privacy Type Default Description Inherited From
blank boolean false target="_blank" for link
color string '#fff' Font color
fill string '#151513' Fill color for github corners
repo string 'Blithe-Chiang/github-corner-monorepo' Your GitHub Repo Name, generate url start with <https://github.com>.
url string '' You also can custom it to override the url generated by repo.
label string 'View source on GitHub' Hover title
reverse boolean false Reverse color and fill
position string 'right' Position of github corners, 'left' or 'right'

Package Sidebar

Install

npm i @vfup/github-corner

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

9.01 kB

Total Files

7

Last publish

Collaborators

  • vfup