🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@goil/badge

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goil/badge

Lightweight 'Made with Goil' badge for static sites, React and Next.js

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
1
-94.12%
Maintainers
2
Weekly downloads
 
Created
Source

@goil/badge

Lightweight "Made with Goil" badge widget. Works in any HTML page, React or Next.js.

Install

npm i @goil/badge

Quick start

React / Next.js:

import { GoilBadge } from '@goil/badge/react'

export default function Layout() {
  return <GoilBadge />
}

Defaults to fixed bottom-right (z-index 9999). Marked 'use client', so it works directly inside a Next.js server layout.

HTML / static site:

<script src="https://goil-composer.s3.eu-west-3.amazonaws.com/badge/latest/goil-badge.iife.min.js"></script>

API

interface GoilBadgeProps {
  variant?: 'dark' | 'light' | 'auto' // default: 'auto' — follows prefers-color-scheme
  lang?: 'en' | 'es' | 'ca' | 'auto'   // default: 'auto' — reads navigator.language
  position?:                            // default: 'bottom-right' (fixed). Use 'inline' to render in flow.
    | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | 'inline'
  zIndex?: number                       // default: 9999
}

Full documentation, integration patterns, screenshots and release process live in DOCS.md in the repository.

License

MIT © Goil

Keywords

goil

FAQs

Package last updated on 21 May 2026

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