EMBED

Embed the take-home pay Web Component

The calculation runs in the visitor’s browser and sends no income or result data to an external service.

Public interface

Scroll horizontally to read the code. With a keyboard, focus the code block and use the left and right arrow keys.

<tax-take-home-calculator lang="ja" income-period="annual"></tax-take-home-calculator>
<script type="module" src="/embed/tax-take-home-calculator.js"></script>

Only ja/zh/en and annual/monthly are accepted; arbitrary HTML, scripts, and URLs are not accepted.

Security and privacy

  • The component does not call fetch, sendBeacon, localStorage, or third-party analytics.
  • Attributes are allowlisted and rendered by the component itself.