UIKit Badge

A small two-chip badge that shows the kit's package name and version — [ uikit | v0.1.6 ] — handy in galleries, footers, and dev tools. The version reflects the installed package; when consumed from source it shows as dev.

vdevuikitvdevuikitvdev

Props

PropTypeDefaultDescription
packagebooleanfalseShow the short package-name chip.
versionbooleanfalseShow the version chip.
prefixbooleanfalsePrefix the version with v.
hashbooleanfalseShow the git-hash chip. No git hash is currently injected, so this chip does not render.
linkablebooleanfalseLink the chips to npm / GitHub.
classNamestringExtra classes.

The lower-level PackageBadge (fully prop-driven) and the PACKAGE_NAME / PACKAGE_VERSION constants are also exported.