Skip to content
Viewership Inquire
Design

Astro components for agents.

Give your agent one prompt. It reads the docs and installs the parts.

You need an Astro project and an agent that can edit its files, such as Claude Code. The agent adds the foundation stylesheet and then any component you ask for.

Full bundle
  1. Paste the prompt

    Into Claude Code, Cursor or any agent working in your Astro project.

    prompt
    Use the Viewership UI library (copy-in Astro components) for UI work in this project.
    Start from the index: https://viewership.ai/design/llms.txt
    For a component, read https://viewership.ai/design/components/<slug>.md and create every file listed in https://viewership.ai/design/components/<slug>.bundle.txt at its path.
    Import src/styles/foundation.css once in the base layout. Style new UI with --vs-* tokens.
  2. It reads the index

    Every page here has a Markdown twin.

  3. It copies the files

    One URL per component, by slug.

    • /design/components/<slug>.md One component: install, usage, example, props, source.
    • /design/components/<slug>.bundle.txt Every file needed, each with its destination path.
    • /design/components/<slug>.json Same as .md, structured, with file contents.
    • /design/raw/<slug>/<file>.txt One source file, raw.

    Slugs are in registry.json. Absolute URLs use https://viewership.ai.

Prefer to work by hand? Copy foundation.css into your project, then copy the files for any component from its page. Want us to set it up for you? See AI-Native Sites.