Skip to content
Tennantite
中文
Documentation

CreateSprite

Create atlas sprite: crops the 256×256 atlas by AllGuiTextures / AllIcons source rects, or renders a composed texture directly.

Install

$pnpm add @tennantite/create

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

Source

packages/create/src/create-sprite/index.tsx

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