Skip to content
Tennantite
中文
Documentation

ModLabel

Mod pixel text: absolutely positioned, centered by default when no horizontal anchor is given.

居中文字橙色阴影5.4px 小字

Install

$pnpm add @tennantite/common

npm installs the compiled package; use the CLI copy above to adapt the source.

Source

packages/mods-core/src/shared/mod-label/index.tsx

The npm package keeps the source tree, so you can copy and adapt it directly.