New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

svelte-github-corner

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-github-corner

simple little component for adding a github corner icon to your svelte projects

0.0.3
latest
Source
npm
Version published
Maintainers
0
Created
Source

svelte-github-corner

simple little component for adding a github corner icon to your svelte projects

see it in action

install

npm install svelte-github-corner

use

  • the colors are optional, will default to black on white
<script>
	import { GithubCorner } from 'svelte-github-corner';
<\/script>

<GithubCorner
	href="https://github.com/flo-bit/svelte-github-corner"
	color="#fff"
	backgroundColor="#151513"
/>

using with tailwind

  • fill is background, text is icon
<script>
	import { GithubCorner } from 'svelte-github-corner';
<\/script>

<GithubCorner
	href="https://github.com/flo-bit/svelte-github-corner"
	class="fill-stone-900 text-stone-100 dark:fill-stone-100 dark:text-stone-900"
/>

license

MIT

credits

based on github corners by Tim Holman

Keywords

svelte

FAQs

Package last updated on 05 Dec 2024

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