Skip to content
Tennantite
中文
Documentation

IfIconButton

IF atlas button: state sprite switching plus a 1 px white inset outline on hover.

Install

$pnpm add @tennantite/industrialforegoing

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

Source

packages/industrialforegoing/src/if-icon-button/index.tsx

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