Skip to content
Browse components

For agents

The library is built to be installed by a coding agent. Everything an agent needs is public, plain text or JSON, and needs no account.

Give your agent the library

Paste this into Claude Code, Codex, Cursor or any agent that can fetch a URL. It reads the list, picks what fits and installs it.

Use the Tenor Component Library, free React components made in Tenor, in this project. 1. Read https://tenor.design/components/llms.txt for the list of components, what each one shows, and its props. 2. Pick the components that fit what I ask for. For each, fetch https://tenor.design/r/<name>.tsx and save it unchanged as components/tenor-ui/<name>.tsx under the project's source root. 3. Each file is one self-contained client component: React is its only import and its styles are inside the file. Do not add Tailwind classes, CSS files or packages for them. 4. Pass this project's real data through each component's props. Theme with the --tui-* CSS variables listed in each file.

Each component page has a prompt for that one component, including the options you chose there.

What an agent can read

AddressWhat it holds
https://tenor.design/components/llms.txtEvery component with its description, size, props and links, as plain text.
https://tenor.design/r/registry.jsonThe registry index, in the shadcn registry format.
https://tenor.design/r/<name>.jsonOne component: its source, props, CSS variables and a usage example.
https://tenor.design/r/<name>.tsxThe component file by itself, ready to save.

Why agents get it right

  • One file per component. There is no setup step to miss and no package to resolve.
  • Every component follows the same contract: typed optional props, content passed as data, and the same CSS variable names for colour and type.
  • Each prop carries a one-line comment in the source, so the file explains itself when an agent opens it.
  • With no props a component renders complete, realistic content, so an agent can place it first and wire data second.

Work on it in Tenor

Your agent can also work on components in Tenor itself, next to you on the canvas, through the Tenor MCP server. Connect your agent.