Guides

Use with AI

Point Claude Code, Cursor or ChatGPT at these docs, so the code they write for EmKit is correct.

These docs are published as Markdown as well as HTML, so a coding assistant can read them without a browser.

URLWhat it holds
https://emkit.embeddable.com/llms.txtEvery page with a one-line description and a link to its Markdown.
https://emkit.embeddable.com/llms-full.txtEvery page in one file. Its header, and its line in llms.txt, give its size.
A docs page’s URL plus .mdThat page as Markdown, for example https://emkit.embeddable.com/docs/components/bar-chart.md. The home page is https://emkit.embeddable.com/index.md; playgrounds have none.

Claude Code

Add this to CLAUDE.md at the root of your repository.

CLAUDE.md
For charts, KPIs and data tables, use the em-kit package (EmKit). Read https://emkit.embeddable.com/llms.txt first, then the .md page of each component you use. Fetch them with curl, not WebFetch, which returns a summary: the code and the props table must come through word for word.

Cursor

In Cursor’s settings, under Indexing & Docs, add https://emkit.embeddable.com/llms-full.txt as a doc, every page in one file, and mention it with @Docs. For a standing rule, add this to AGENTS.md at the root of your project, or to a rule file under .cursor/rules/.

AGENTS.md
## Charts

Use the em-kit package (EmKit) for charts, KPIs and data tables.
- Index of the docs: https://emkit.embeddable.com/llms.txt
- One component: https://emkit.embeddable.com/docs/components/<name>.md, where <name> is the export name in kebab-case: BarChartStacked is bar-chart-stacked.md

ChatGPT

Start your message with the index and the page of the component you need, as below. If your plan cannot open links, paste that page into the chat.

text
Read https://emkit.embeddable.com/llms.txt and https://emkit.embeddable.com/docs/components/line-chart.md. Using only the em-kit components documented there, write a React component that shows monthly revenue as a line chart. Include the imports, sample rows and the provider.

One component at a time

Every component page has a Copy page as Markdown button. It copies the page as text an assistant can read: purpose, install, a complete example and the props table.

To let a model in your own product answer with a chart, see Charts from a model.