beUI is a React and Next.js component library whose animated interface components come with previews, examples, source code, and shadcn installation commands. Developers copy the components into their own applications and keep the code there. Catalogue add-ons help coding agents find and use existing beUI components.
Borrowing it
Nothing to install: this file belongs to starc007/ui-components. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/starc007/ui-components/main/AGENTS.mdgit clone --depth 1 https://github.com/starc007/ui-componentsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/starc007/ui-components/agents-md)<a href="https://agentmods.dev/instructions/starc007/ui-components/agents-md"><img src="https://agentmods.dev/badge/instructions/starc007/ui-components/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/starc007/ui-components/agents-md"><img src="https://agentmods.dev/badge/instructions/starc007/ui-components/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.11857 | $0.11857 |
| Opus 5.5 | $0.04743 | $0.04743 |
| Sonnet 5.5 | $0.02371 | $0.02371 |
| Haiku 4.5 | $0.01186 | $0.01186 |
Grade A, and why
ui-components AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 224 lines — stays where its author put it; the contents beside it link to each section on GitHub.
beUI v2 — agent guide
React motion component library plus its docs site, distributed as copy-paste source via shadcn-compatible registry endpoints. Stack: Next.js 15 (App Router), React 19, Tailwind CSS 4, motion (framer-motion) v11, TypeScript strict, Bun, Biome. Live at beui.dev.
Commands
bun install
bun run dev # local site
bun run typecheck # tsc --noEmit
bun run lint # biome
bun run check:registry # every registry component can publish its files
bun run check # typecheck, lint, and registry validation
bun test # accessibility tests only
Prefer typecheck + lint for quick verification. Do not start the dev server or run bun run build unless explicitly asked.
Testing policy
- Keep the automated test suite accessibility-only. Do not add or restore general unit, interaction, calculation, snapshot, styling, or animation-timing tests unless the user explicitly requests them.
- Keep accessibility audits in
tests/a11y.test.tsxor focusedtests/*.a11y.test.tsxfiles, usingtests/setup.ts. Add coverage for meaningful accessible states, including open overlays where relevant; avoid duplicate cases. - Run
bun run checkandbun testbefore committing. TypeScript, lint, and registry validation remain required and are separate from the accessibility suite. - Verify changed interactions and visual behavior in the browser, including keyboard/focus behavior, touch where applicable, responsive layout, and reduced motion. Automated axe checks do not establish animation quality or complete accessibility. Report what was checked and any verification limits; the dev-server restriction above still applies.
Layout
components/motion/,components/charts/, andcomponents/agents/— the library. One file per component; multi-file widgets get a folder (swap/,button/,loading-states/).components/previews/— demo per component, registered incomponents/previews/index.tsx. Previews ship through the registry too. When an interactive preview uses internal demo helpers, set the registry entry'susageFileto a separate public composition so the Usage tab stays copyable.components/app/— site chrome (header, hero, dock, code blocks). Not part of the library.lib/registry.ts— component catalog (slugs, files, examples). Five categories:motion(display name "Components", primitives),agents(AI and agent interface primitives),charts(data visualizations at/charts, with detail pages at/charts/<slug>),casino(games at/casino, with detail pages at/casino/<slug>), andblocks(composed widgets: swap, dynamic island, command palette, expandable action bar). Top-level sections are listed inTOP_LEVEL_CATEGORIES(lib/component-paths.ts). Blocks and casino emitregistry:blockshadcn items. Preview files live undercomponents/previews/<category>/.lib/registry-server.tsbuilds registry items by following each file's@/and relative imports and bundling everything it finds. Internal imports are therefore safe and encouraged; a component that imports@/lib/easeshipslib/ease.tswith it.app/r/*— registry endpoints (shadcn items, raw source, index). beUI is listed in shadcn's official registry directory as the@beuinamespace with URL templatehttps://beui.dev/r/{name}.json— that path shape and existing install slugs are public contract; never break or rename them.lib/ease.ts— all motion tokens.scripts/check-registry.ts— validates the catalog.lib/native/catalog.json— beUI Native (React Native) components and source, synced from thebeui-nativerepo bybun scripts/sync-native.ts(never edit by hand). The same script uploads the showcase clips and posters to thebeui-nativeR2 bucket, served frommedia.beui.devwith content-hashed names; don't add clips topublic/. Native components have their own pages for search:/react-nativelists them by group and/react-native/[slug]shows one (clip, Expo Go QR, CLI and manual install, its README, related native components), with its own metadata, JSON-LD, OG card (/api/og?native=) and sitemap entries (lib/native-seo.ts). A web component page with a native version links to it. The Web/React Native switch (components/app/docs/native/platform-switch.tsx), at the top of the right sidebar and inline belowxl, navigates between a page's two URLs, falling back to the other platform's list; on/react-nativepages the left sidebar lists native components by group (lib/native/nav.json). Agents read/native/rand/native/r/{slug}(lib/native-registry.ts), thellms.txtnative section, and the MCPlist_native_componentsandget_native_componenttools.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · +7 lines · +569 tokens per session b3c728d664cd
- yesterday Changed · +2 lines · +394 tokens per session d3ef7831650d
- 5d ago Changed · +2 lines · +191 tokens per session 41400f2f7a51
- 9d ago Changed · +3 lines · +449 tokens per session 7202bba7a695
- 13d ago Changed · +1 lines · +135 tokens per session 5bdd686112b2
- 15d ago Changed · +1 lines · +223 tokens per session aebfadb1f4f4
- 17d ago Changed · +1 lines · +158 tokens per session 2190b50f38ae
- 18d ago Changed · +1 lines · +121 tokens per session 45068f982fb5
- 21d ago Changed · +1 lines · +316 tokens per session a8c91b55f3f4
- 23d ago First seen · 205 lines · 9,301 tokens per session scan A 6bd749e8271b
ui-components AGENTS.md is an instructions file published in the GitHub repository starc007/ui-components (1,926 stars, last pushed yesterday), licensed MIT. It adds 11,857 tokens to every session, about $0.0474 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ui-components AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ui-components AGENTS.mdstarc007/ui-components | Instructions file | 1.9k | yesterday | MIT | A | 11,857 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |