npm

vue-carbonbadge
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

vue-carbonbadge

Vue component for the Website Carbon badge.

Installation

via npm

npm install vue-carbonbadge

or via yarn

yarn add vue-carbonbadge

Usage

<template>
    <CarbonBadge />
</template>

<script setup>
    import CarbonBadge from "vue-carbonbadge";
</script>

Customization

Toggling dark mode

<CarbonBadge :dark="true" />

If the dark property is not specified, dark mode is detected as per user system preferences.

Package Sidebar

Install

npm i vue-carbonbadge

Weekly Downloads

107

Version

2.0.0

License

MIT

Unpacked Size

11.1 kB

Total Files

15

Last publish

Collaborators

  • niklashaug