# Prompts

> What to ask your agent once the MCP server is connected, grouped by task. Copy a prompt and adjust it to your project.

## How to ask

- **Name the server once.** Start your first prompt with "Use shadcnpro to …". After that, the agent picks the right tools on its own.
- **Describe the result, not the block.** Say what the section should do and contain. The agent finds the block that fits, so you don't need to know its id.
- **Say what a page is for.** For a whole page, describe its purpose and audience. The agent plans the sections and shows you the list before it installs anything.
- **Expect to approve installs.** The agent asks before it runs the shadcn CLI, so you see every command first.

## Add a section

- Use shadcnpro to add a pricing section with three plans and a monthly/yearly toggle under the hero.
- Add a testimonials section with customer photos between the features and the pricing.
- Add an FAQ above the footer with six questions about billing, refunds and team seats.
- Add a row of customer logos under the hero with the heading "Trusted by 2,000+ teams".
- Add a call to action with an email signup right before the footer.

## Build a page

- Build a landing page for an analytics SaaS: navbar, hero, logos, features, pricing with a yearly toggle, testimonials, FAQ and footer.
- Plan a pricing page with a plan comparison table and an FAQ, and show me the blocks before you install them.
- Create a sign-in page with Google and GitHub buttons and a forgot-password link.
- Build a dashboard with a sidebar, KPI cards, a revenue chart and a table of recent orders.
- Build a product page for an online store with an image gallery, product details, reviews and related products.

## Find the right block

- Which shadcnpro blocks would work for a three-step onboarding flow?
- Show me three hero sections with a product screenshot, and explain how they differ.
- List the free blocks for landing pages.

## Theme and style

- Apply the violet theme from shadcnpro to this project, on the zinc base color.
- Switch this project to the stone base color and make the corners more rounded.
- Change the primary color to our brand blue, #2563EB, in light and dark mode.

## Icons

- Find icons for home, settings, billing and logout in the icon library this project already uses.
- Replace the placeholder icons in the features section with matching Lucide icons.

## Figma

- Where is the Data Table component in the shadcn/ui Pro Figma kit?
- Build this Figma frame under the hero, using shadcnpro blocks where they match: [paste the Figma link]

The second prompt also needs the Figma MCP server, which reads the frame. For more on turning designs into code, see [`/generate-code`](https://pro.shadcn.co/docs/agent-skills/generate-code).

## Set up and fix

- Use shadcnpro to set this project up for blocks.
- The shadcn CLI says 401 when I add a block. Check my components.json and tell me what to fix.
- Use shadcnpro to call whoami.

## Built-in prompts

The server also ships ready-made prompts. Clients that support them show them as slash commands or in a prompt picker, and each one runs a whole task:

- `/setup-project`: Prepare the current project for shadcn/ui Pro blocks: shadcn init if needed, license key in .env.local, the @shadcnpro registry in components.json, then verify.
- `/add-block`: Find the best block for a described section, install it with the CLI and wire it into the page.
- `/build-page`: Plan a whole page as a stack of blocks, install them in one command and assemble the page file.
- `/apply-theme`: Apply one of the shadcn/ui Pro themes to the project by updating the CSS variables in the global stylesheet.
