Getting started

Use with AI

Every component and every site in the library comes with a prompt. Copy it, add one sentence about your product, and let your coding agent do the wiring.

Three ways to prompt

  1. A single component

    Open any component and scroll to Build it with AI. The prompt tells the agent what the component is, how to install it and what to preserve when adapting it.

  2. A whole site

    The Sites gallery has complete landing pages. Each has a long, art-directed prompt covering layout, type, colour and motion, written so that an agent can rebuild the page from the text alone or start from the installed file.

  3. Let the agent choose

    The registry index at /r/registry.json lists every item with a description, so an agent can pick components itself. This prompt does exactly that:

    AI prompt

    Build a landing page for my product using PixelPapa UI components.
    
    Fetch https://pixelpapa.com/r/registry.json to see every available component with its description and category.
    Pick one navbar, one hero, one feature section, one pricing section, one FAQ and one footer that suit the product below,
    install each with: npx shadcn@latest add "https://pixelpapa.com/r/<name>.json"
    then compose them in app/page.tsx in that order.
    
    Rewrite all demo copy for my product. Keep animation timings. Use my theme tokens, no hard-coded colours.
    
    Product: <one paragraph about what you are building and who it is for>

Tips that improve results

  • Say who the page is for and what the single call to action is. Agents write better copy with a goal.
  • Ask for real content, never lorem ipsum, and name the tone you want.
  • Need sharper imagery for a hero or testimonial? Run it through the AI image enhancer first.
  • Review the diff. Prompts get you to 90%; the last 10% is your judgment.