> ## Documentation Index
> Fetch the complete documentation index at: https://crossword.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create and style a component

> Create a dynamic component from a template, customize its appearance, and choose the agent that answers its questions. Style changes go live on your store as soon as you save.

The **Dynamic components** section lists your store's components in a table. Each row shows the component's name, its template, and the page group it is placed on, or **Not placed**. A new store starts with an empty table.

## Create a component

1. Open **Dynamic components** and select **Create component**.
2. Choose one of the five templates. Each template is previewed as it appears on a store.
3. Enter a name. The name defaults to the template's name.

The component opens immediately with the template's default style. It has no placement yet, so shoppers cannot see it.

Each component is organized into four tabs.

| Tab | Contains |
| - | - |
| **Style** | The appearance of every part of the component. |
| **Settings** | The answering agent, length limits, and all other options unrelated to appearance. |
| **Placement** | The page group and the position on the page. Read [Place a component](https://crossword.ai/docs/components/dynamic/placement.md). |
| **Words** | Every page the component covers, with the content written for each. Read [Workflows](https://crossword.ai/docs/components/dynamic/workflows.md). |

## Style

The **Style** tab displays a preview beside a settings panel for each part of the component. The parts are the card, the AI mark, the heading, the AI label, the label above the chips, the chips or questions, and the button. Select a part in the preview to jump to its panel.

Each panel lists the most common settings first: background, text color, border color, corner radius, text size, text weight, and inner spacing. All other options for that part are under **More settings**. A setting you have not changed shows **Default**. **Reset** clears every setting in a panel.

### Component-wide settings

The following settings apply to the whole component.

* **Colors.** **Light**, **Dark**, or **Same as the chat**. The default is **Light**.
* **Typeface.** The default typeface, your store page's own font, or a font the chat offers.
* **Space around the component.** A step from none to 2xl, or a value in pixels. The template sets the starting value.
* **Max width and align.** A maximum width, then left, center, or right alignment. The default is full width.
* **Devices.** **All devices** or **Mobile only**, to configure styles that differ on a phone.

### Custom icon

The **Icon** section replaces the AI mark with your own image, the same way you replace the launcher's chat icon. Upload a JPG, PNG, SVG, WebP, or GIF file of up to 1 MB. You can animate it with **Subtle**, **Standard**, or **Bold**. The animation never plays for shoppers who have requested reduced motion.

### Hidden elements

You can hide only three elements: the AI mark, the AI label, and the label above the chips. The label that identifies an answer as AI-generated can be restyled but not removed.

### Save style changes

Style changes go live on your store pages when you save. If a change violates the design rules, Crossword rejects the save and displays the reason.

> [!TIP]
>
> To reuse an existing look, select another component under **Copy style from...**. From a component built on the same template, Crossword copies the entire style. From a different template, it copies only the colors, typeface, space around the component, and icon.

## Settings

| Setting | Templates | Description |
| - | - | - |
| **Answering agent** | Suggested questions, Product Q\&A, Summarize link | The agent that answers a question asked from this component. The component does not appear until you select one. |
| **Agent for typed questions** | Product Q\&A | An optional second agent for questions the shopper types. |
| **Chip length** | Suggested questions, Product Q\&A | The maximum length of a chip or question. |
| **Summary length** | AI summary | The maximum length of the summary. |

The answering agent can only look up information. It cannot take actions such as adding items to the cart. Once the shopper continues in the chat, your channel's chat agent answers there.

**Copy settings from...** lists components built from the same template. It copies every setting, including the answering agent.

## Duplicate and delete

Both actions are available in a row's menu in the components table.

* **Duplicate** creates a copy with the same style and settings, named after the original with "copy" appended. The copy has no placement and no content. Use it to show the same component on two kinds of page.
* **Delete** asks for confirmation first. The component is then removed from your store pages. Its placement, its written content, and its blocks in any Workflow are deleted with it.

## Related

> [card] [Place a component](https://crossword.ai/docs/components/dynamic/placement.md)

> [card] [Workflows](https://crossword.ai/docs/components/dynamic/workflows.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.