Free AFR Widget for Your Website

AFR Widget Docs & Demo

Configure the widget below, watch it update live, and copy the exact snippet for your site.

Configure

Hides the term ranges and the IRS source row

Live preview

Script embed (recommended)

Auto-resizes to fit its content and reads the configuration from data-attributes.

<script async src="https://familyloantracker.com/widgets/afr.js"></script>

Plain iframe

For platforms that strip script tags. Fixed height, so keep the default size.

<iframe src="https://familyloantracker.com/widget/afr?theme=light" title="IRS Applicable Federal Rates" style="width:100%;max-width:420px;height:240px;border:0;" loading="lazy"></iframe>
<p style="font:11px system-ui,sans-serif;max-width:420px;text-align:right;margin:4px 0 0;"><a href="https://familyloantracker.com/en/calculators/irs-minimum-interest-afr">AFR data by Family Loan Tracker</a></p>

Installation

Plain HTML: paste the snippet where the rates should appear. The script loads async and will not block rendering.

WordPress: add a Custom HTML block and paste the snippet. On WordPress.com, plans below Business strip script tags, so use the iframe variant there.

Squarespace, Webflow, Wix: use the platform’s embed or code element and paste either variant. If scripts are stripped, the iframe variant always works.

How it behaves

The script variant auto-resizes the iframe to its content, so the widget never clips or leaves white space.

Rates update automatically when the IRS publishes a new monthly revenue ruling. You never need to touch the embed again.

The widget sets no cookies and runs no analytics on your visitors. The only external request is the widget itself.

Troubleshooting

If your site sends a Content-Security-Policy, allow frame-src https://familyloantracker.com (and script-src for the loader).

If the widget stays blank, check the browser console. Platforms that sandbox custom HTML sometimes block iframes; the plain iframe variant usually works there.