-
Paste the prompt
Into Claude Code, Cursor or any agent working in your Astro project.
Use the Viewership UI library (copy-in Astro components) for UI work in this project. Start from the index: https://viewership.ai/ui/llms.txt For a component, read https://viewership.ai/ui/components/<slug>.md and create every file listed in https://viewership.ai/ui/components/<slug>.bundle.txt at its path. Import src/styles/foundation.css once in the base layout. Style new UI with --vs-* tokens. -
It reads the index
Every page here has a Markdown twin.
- llms.txt Start here. Index of docs and components.
- llms-full.txt Every doc and component source in one file.
- index.md Overview, install steps, catalogue.
- conventions.md The component contract.
- foundations.md Design tokens and foundation.css.
- registry.json Catalogue with dependencies and URLs.
-
It copies the files
One URL per component, by slug.
-
/ui/components/<slug>.mdOne component: install, usage, example, props, source. -
/ui/components/<slug>.bundle.txtEvery file needed, each with its destination path. -
/ui/components/<slug>.jsonSame as .md, structured, with file contents. -
/ui/raw/<slug>/<file>.txtOne source file, raw.
Slugs are in registry.json. Absolute URLs use https://viewership.ai.
-