---
title: Design tutorials
description: "Two prompt-by-prompt builds in the built-in chat: a landing hero you refine by talking, and a stat card on tokens that re-skins with one switch."
section: ai
order: 6
featured: false
related: solutions/brand-changes, solutions/explore-variations, design-system/modes-and-brands
---

# Design tutorials

Two walkthroughs you can follow prompt by prompt: a landing hero you shape by talking to the agent, and a stat card on design tokens that re-skins with one switch. Both use the built-in chat, which runs on Brilliant AI with nothing to connect. To use your own model, see [Connect an AI Provider](/docs/getting-started/connect-provider). Every result is native elements, so you can keep editing by hand at any point.

## How do I prompt a landing hero and refine it?

Open a new canvas and follow these steps. The agent writes its own copy, so your hero will read differently from anyone else's.

<DocStep n="1" title="Describe the result, then press Enter.">

Press <KeybindingDisplay keyCode="." size="small" /> to focus the AI input, or <KeybindingDisplay keyCode="/" size="small" /> with nothing selected, and describe the outcome rather than the steps: "Create a landing page hero for a habit-tracking app called Momentum. A big headline, one line of supporting copy, a primary Get Started button and a secondary Watch Demo button, and room for a product screenshot on the right."

</DocStep>

<DocStep n="2" title="Refine the copy in plain words.">

Follow-ups share the conversation, so speak in changes: "Rewrite the headline to be punchier and under six words." Then: "Make the supporting line more concrete: mention daily streaks."

</DocStep>

<DocStep n="3" title="Adjust the layout the same way.">

"Add more breathing room between the headline and the buttons." Then: "Center the whole hero and give it a bit more top padding." The agent edits the elements in place, and the chips in the chat name what changed.

</DocStep>

<DocStep n="4" title="Select an element and press /.">

Click the primary button and press <KeybindingDisplay keyCode="/" size="small" />. The inline prompt opens beside it with the button already attached, so you can say "this": "Make this button a warmer orange and give it a subtle shadow." Sending opens the chat with a new session.

<DocFigure src="/docs/images/ai/design-tutorials-inline.webp" srcMobile="/docs/images/ai/design-tutorials-inline-390.webp" stage="panel" alt="The inline AI prompt with selected elements attached as chips" />

</DocStep>

<DocStep n="5" title="Point at another element with @.">

Type @ in the composer and pick an element. Its structure and a render travel with your message, so the agent can match against it: "Match the secondary button's corner radius and height to @Get Started."

<DocFigure src="/docs/images/ai/design-tutorials-mention.webp" srcMobile="/docs/images/ai/design-tutorials-mention-390.webp" stage="panel" alt="The @ mention list above the composer, with the selected element first" />

</DocStep>

<DocStep n="6" title="Try a bolder take in a second chat.">

With the chat open, press Cmd+N and prompt the alternate direction there. Your first chat stays in the Chats list. If a message goes the wrong way, hover the end of it and click Undo all changes in this message. More in [Sessions and chat](/docs/ai/sessions-and-chat).

</DocStep>

<div class="callout tip">
  <strong>Stuck on a follow-up.&nbsp;</strong>Describe the problem rather than the fix. "The buttons feel cramped" works as well as an exact spacing value.
</div>

## How do I build a card that re-skins with my brand?

Bind a card to tokens once, and switching a theme or brand restyles it. A new project starts with a full set of tokens: colors, spacing, radius and type. New to them? Read the [design system overview](/docs/design-system/overview) first.

<DocStep n="1" title="Ask for the card, on your tokens.">

"Build a dashboard stat card: a small label, a big metric number, a trend indicator, and a sparkline area below. Use my design system tokens for the colors, spacing, corner radius, and type so it stays on-brand." The agent has your token catalog from the first message, so it can use roles such as color.surface and color.text.primary instead of fixed values. All of them are listed in [Tokens](/docs/design-system/tokens).

</DocStep>

<DocStep n="2" title="Multiply it.">

"Add two more of these cards in a row with equal spacing between them." A gap bound to a spacing token moves with that token, and [Frames and auto layout](/docs/editor/frames-and-auto-layout) covers the row itself.

</DocStep>

<DocStep n="3" title="Switch the theme.">

With nothing selected, find the Design system section at the top of the right panel and set Theme to Dark. Every value bound to a token follows, and the cards themselves stay untouched.

<DocFigure src="/docs/images/ai/design-tutorials-section.webp" srcMobile="/docs/images/ai/design-tutorials-section-390.webp" stage="panel" alt="The Design system section with the brand menu and the Theme switch" />

</DocStep>

<DocStep n="4" title="Switch brand, or make one.">

If the project has brands, pick another from the brand menu in that section. Otherwise ask: "Add an alternate brand called sunset with a warm orange primary, and switch this canvas to it." A brand is a file in your project's Styles/ folder. Pick default to go back. The mechanics are in [Modes and brands](/docs/design-system/modes-and-brands).

</DocStep>

<div class="callout tip">
  <strong>A color did not follow.&nbsp;</strong>It probably holds a raw hex value. Select the element and tell the agent to "bind this fill to the closest design system token", then switch again.
</div>

## Where next?

- See the whole range of the agent: [What the AI can do](/docs/ai/what-the-ai-can-do).
- Run several chats and undo a message: [Sessions and chat](/docs/ai/sessions-and-chat).
- Go deeper on tokens: [Tokens](/docs/design-system/tokens), and [Modes and brands](/docs/design-system/modes-and-brands).
- Get the map of the chat: [Built-in AI](/docs/ai/overview).
