FundChart DocsTry with your fund

Docs/Embed on your site

How to embed fund performance charts in Framer

Add live fund charts to a Framer site with an Embed component.

Updated 8 Nov 2026View as Markdown

What investors find today

Framer sites are fast and beautiful, and the fund page on one is usually still a PDF link. FundChart puts the live fund page there instead: facts, returns against the benchmark, exposure, holdings, monthly returns, in your colours and current to last month-end, drawn from the factsheet or workbook you already produce. In Framer it is one Embed element.

Before you start

  • A FundChart workspace with the fund published. In the fund's review, open the Layout step, press Layout, open the Embed code card and Copy "Full fund page": two lines, a script tag and a <fundchart-page> tag with your token and the fund's id.
  • Your Framer domain under Settings → API & agents → allowed domains (the framer.app address while you test, your own domain at launch), if you want the token to draw only on your sites.

Add the Embed element

  1. In the Framer editor press + (Insert) and open Utility.
Framer's Insert panel with Utility selected.
Framer's Insert panel with Utility selected.
  1. Drag Embed onto the page, where the fund page should sit.
The Embed element in Framer's Utility list.
The Embed element in Framer's Utility list.
  1. In the right pane, set Type to HTML and paste the two lines from the Embed code card.
The Embed element's settings: Type HTML, with the FundChart script and tag pasted in.
The Embed element's settings: Type HTML, with the FundChart script and tag pasted in.
<script async src="https://embed.fundchart.io/e.js"></script>
<fundchart-page token="fcp_YOUR_TOKEN" fund="YOUR_FUND_ID" name="your-fund"></fundchart-page>
  1. Set its size in the right pane, under Size: Width to Rel (relative) at 100%, so the fund page takes the section's full width on every screen; a fixed width gives a phone a desktop-sized page. Height stays Fixed, at any number: Framer runs HTML with a script in a frame of fixed height, and on the published site FundChart sizes that frame to the whole fund page, moving the page below down to make room. Not Fit content: Framer cannot measure a page that arrives by script.
Framer's Size settings for the Embed: Width 100% Rel, Height Fixed.
Framer's Size settings for the Embed: Width 100% Rel, Height Fixed.
  1. In the editor the element may show only the top of the fund page, at the height you typed. That is the editor; the published site shows all of it.
  2. Publish and open the site.
The published Framer site with the fund page in place.
The published Framer site with the fund page in place.

On a phone the same element gives the phone layout.

The published Framer site on a phone.
The published Framer site on a phone.

A fund centre, or one chart

The same Embed element takes the other two tags. For a Funds page, <fundchart-center token="fcp_YOUR_TOKEN" link-template="/funds/{slug}"></fundchart-center> lists every published fund, each row a link to its page on your site. For one chart in a layout of your own, <fundchart-widget type="perf-chart" token="fcp_YOUR_TOKEN" fund="YOUR_FUND_ID"></fundchart-widget>. Each Embed element needs the script line too: Framer gives every embed its own frame.

Matching your site

The look (Editorial or Classic), the brand colour, the font and the sections come from the layout saved in FundChart. On a dark Framer section, add background="inherit" to the tag and choose the Classic look so the text reads light; everything else follows the saved layout. The full list of attributes is in the developer docs.

Month-end

Nothing changes in Framer and nothing needs publishing. Upload next month's factsheet in FundChart, review, approve; the page on your Framer site shows the new month within a minute.

If it does not show

  • Only the top of the page in the editor: expected, the editor keeps the height you typed. Check the published site.
  • Only the top of the page on the published site: the published page is an old copy. Publish again; if it stays short, tell us the address.
  • A dashed box reading "this fund isn't published yet, or the token is wrong": publish the fund, or copy the tag again from the Embed code card.
  • "domain not allowed for this token": add the framer.app address and your own domain under allowed domains.
  • The phone layout on a desktop, or a desktop page squeezed on a phone: the width is fixed. Set it to Rel, 100%.