• Stars
    star
    123
  • Rank 290,145 (Top 6 %)
  • Language
    JavaScript
  • Created over 2 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ukraine flag badge for your website

We stand with Ukraine

A simple website badge to show your support for Ukraine.

Installation

<script src="https://cdn.jsdelivr.net/gh/virae/[email protected]/badge.js" async></script>

Parameters

You can customize the badge with additional parameters by setting script attributes:

  • title

    (string) The tooltip text to display on badge hover

    Default: 'We stand with Ukraine'


  • url

    (string) The website URL to launch when the badge is clicked

    Default: nothing


  • position

    (string) The position in which the badge should be displayed

    Default: 'left'

<script src="https://cdn.jsdelivr.net/gh/virae/[email protected]/badge.js" title="Help Urkaine Win" url="https://standforukraine.com" position="right" async></script>

Preview