On your pricing page, the "Upgrade" button on the Pro card is bright blue and competes with the Team card beside it. You want it gray, like a secondary action. In code it is a small edit, and you would rather not interrupt your work to find it.

This tutorial makes that one change with Wirefold, a macOS app where you point at an element in your running app, describe the edit, and review it as a diff before anything touches your files.

Before you start

You need a Mac with macOS 15 or newer on Apple Silicon, a Vite + React or Next.js project, Git 2.38 or newer, and an API key from your model provider. Wirefold uses your own key and adds no markup on it.

Assume the button is a shared Button component with a variant prop, and the Pro card passes variant="primary". Your project will differ, which is one reason the review step matters.

1. Point at the button in the running app

Open the project in Wirefold and start your dev server. In the preview, go to the pricing page and click the Pro card's "Upgrade" button. Wirefold passes the agent that element as context, so you do not have to describe which button you mean. The page on how Wirefold works explains what happens between this click and the diff.

2. Describe the change and run in a sandbox

Type the change in plain language:

Then run it. The agent reads the relevant parts of your project, finds where the button is defined, and works in a Git sandbox, a separate copy of your project. Your own files stay as they were.

Ask for the outcome and point to your conventions. "Like a secondary action" invites the agent to reuse what you have. "Make it #808080" invites a hard-coded color your design system does not know about.

3. Review the diff before touching your branch

When the agent finishes, you get a diff against your code. A request this small should produce a small diff:

diff
- <Button variant="primary">Upgrade</Button>
+ <Button variant="secondary">Upgrade</Button>
  • If the diff adds a gray class from your Tailwind config, that is fine. A random hex value means you should ask again and mention the palette.
  • If the diff edits the shared Button component itself, reply with "Only change this instance, leave the Button component alone."
  • If files unrelated to pricing show up, discard the attempt.

4. Apply and verify contrast

When the diff looks right, press Apply. Your code changes at that moment. Wirefold uses Git 2.38 or newer here, to bring the change into your project and keep your unfinished work safe.

After you Apply, check the label against the new background in the preview, along with hover and focus states. If the diff only touched the default background, send a follow-up like "match the hover and focus states to the secondary variant".

Try it on a real button

Pick a button you have been meaning to restyle, point at it, and read the diff before you Apply.

Wirefold runs on macOS 15 or newer on Apple Silicon and costs USD 12 per month, with a 7-day trial for new accounts that does not ask for a card. See how Wirefold works.