Features
Build React interfaces with ChatGPT and Claude
Hand the whole library to your assistant with one link.
The short answer
oks-ui publishes its entire API as plain text at /llms-full.txt, with a short index at /llms.txt. An AI assistant that can open a link reads every component, prop and design token in one request and can then write correct oks-ui code instead of guessing.
What is published
/llms.txt: a curated index of the key facts, with links to every section./llms-full.txt: the whole library as one Markdown file, roughly 8,700 words. Install instructions, every component with its props, the design tokens and the FAQ.
How to use it
- Open a chat with an assistant that can fetch a URL.
- Paste the prompt below and describe the screen you want.
- The assistant reads
llms-full.txtand writes code with real component names, real props and token-based styling. - Paste the result into your project.
Starter prompt
You're helping me build a UI with oks-ui.
First, read https://www.oks-ui.com/llms-full.txt. It has every component,
every prop, and the full design-token reference in plain Markdown.
Then build: <describe the screen you want>.
Rules:
- Use only oks-ui components.
- Style with --oks-* CSS variables, never hard-coded colours.
- Import each component from its subpath, e.g. import { Button } from "oks-ui/button".Why it works
Assistants are good at using an API once they can see it and unreliable at guessing one they cannot. A single authoritative file, generated from the same data as this site, removes the guessing. Every component and pattern page here also has clean semantic HTML and its own structured data, so pasting one page’s link works too.
More detail is in the Use with AI guide.
Questions
What is llms.txt?
llms.txt is a plain-text file at a site's root that gives AI assistants a curated map of its content. oks-ui publishes a short llms.txt index and a full llms-full.txt containing the whole library as Markdown.
Which AI assistants can use it?
Any assistant that can open a URL, or that lets you paste text. If yours cannot open links, copy the contents of llms-full.txt into the conversation. It is about 63 KB of plain text.
Is the file kept up to date?
Yes. llms-full.txt is generated from the same data that drives this website's component pages and is regenerated on every deploy, so it follows the real API.
Keep exploring
- React component library with zero dependencies
- Theme React components with CSS variables
- Accessible React components
- React charts without a charting library
- Strict TypeScript React components
- All 55 components
- Install oks-ui
Figures and claims on this page were last checked on 2026-09-24.