> ## 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.

# Component library

> Browse every component a shopper can see or use in Crossword, grouped into five families, and learn which ones carry a rule that decides when they show.

The Component library is every component in a Crossword experience, in one list. A component is anything a shopper can see or interact with, from the chat bar to an AI block on a product page. The list splits into five families. A few components carry a rule that decides when and where they show. The rest show because the active [Journey](https://crossword.ai/docs/orchestration/journeys.md) holds them, or because an Agent or another component placed them.

## Families

The diagram shows the Component library, its five families, and the components in each family, with the families that carry a rule named as such.

```mermaid theme={null}
flowchart TB
  LIB["Component library<br/><small>every component in one list</small>"]
  LIB --> WID["Widget<br/><small>chat bar, header, dynamic island, placements, conversation states · no rule</small>"]
  LIB --> CONV
  LIB --> CARDS
  LIB --> INT
  LIB --> DYN
  subgraph CONV["Conversation · proactive messages carry a rule"]
    WM["Welcome message<br/><small>global · Global settings</small>"]
    CS["Conversation starter<br/><small>belongs to the Journey</small>"]
    FU["Follow-up suggestion<br/><small>written by the Agent</small>"]
    PM["Proactive message<br/><small>shows when rule</small>"]
    AR["Assistant reply<br/><small>composed by the Agent</small>"]
    FB["Feedback and CSAT"]
  end
  subgraph CARDS["Cards, no rule"]
    PC["Product card"]
    PCOL["Product collection"]
    PSUM["Product detail"]
    CC["Comparison card"]
    CART["Cart and checkout card"]
    ORD["Order and refund card"]
  end
  subgraph INT["Interactive, no rule"]
    CTL["Complete the look"]
    QZ["Quiz"]
    FM["Form"]
    GM["Game"]
  end
  subgraph DYN["Dynamic components, each with a page group and one placement, no rule"]
    DSQ["Suggested questions"]
    DAS["AI summary"]
    DQA["Product Q&A"]
    DAB["Ask AI button"]
    DSL["Summarize link"]
  end
```

| Family | What it covers | Carries a rule? |
| - | - | - |
| Widget | The chat widget itself: the chat bar, the header, the dynamic island, where the widget sits, and the states it shows between replies. | No. It is the same in every Journey. What shows inside it comes from the active Journey. |
| Conversation | What the shopper sees in the chat: messages, starters, suggestions, the assistant reply, and feedback. | Proactive messages carry a "shows when" rule inside the active Journey. Starters carry no rule of their own: they belong to the Journey and show whenever it applies. Follow-up suggestions do not, because the Agent writes them for each reply. The welcome message does not, because it is global and set in [Global settings](https://crossword.ai/docs/global/overview.md). The assistant reply does not, because the Agent composes it. |
| Cards | Structured units for products, comparisons, carts, and orders. | No. Shown inside a message or a reply. |
| Interactive | Pieces the shopper works through step by step. | No. Shown the same way as cards, or opened by a starter. |
| Dynamic components | Small AI blocks on your store pages, such as question chips or a product summary. Read [Dynamic components](https://crossword.ai/docs/components/dynamic/overview.md). | No. A page group picks the pages, the component sits at one placement, and a Workflow writes its words. |

## Every component

| Component | Family | Carries a rule? | What it does |
| - | - | - | - |
| [Widget](https://crossword.ai/docs/components/widget/overview.md) | Widget | No | The chat window: header, dynamic island, conversation, and chat bar, styled to your brand. |
| [Placements](https://crossword.ai/docs/components/widget/placements.md) | Widget | No | Where the widget sits: a middle bar, a floating widget in a corner, or a sidebar. |
| [Welcome message](https://crossword.ai/docs/components/conversation/welcome-message.md) | Conversation | No (global) | The first message a shopper reads when the widget opens. One per experience, set in Global settings, the same in every Journey. |
| [Conversation starter](https://crossword.ai/docs/components/conversation/conversation-starter.md) | Conversation | No. Belongs to the Journey | A tappable prompt under the welcome message. Each routes to a named Agent and can open a component such as the quiz. |
| [Suggestion set](https://crossword.ai/docs/components/conversation/conversation-starter.md#suggestion-set) | Conversation | No | The cap and layout that turn starters or follow-ups into what the shopper sees. |
| [Follow-up suggestion](https://crossword.ai/docs/components/conversation/follow-up-suggestion.md) | Conversation | No. Set in the Agent | A next-step prompt under an assistant reply. The Agent writes them for each reply from its instructions, and the suggestion set caps them. |
| [Proactive message](https://crossword.ai/docs/components/conversation/proactive-message.md) | Conversation | Yes ("shows when") | A message Crossword sends before the shopper asks. Shows when its rule is met inside the active Journey, and routes to a named Agent. |
| [Assistant reply](https://crossword.ai/docs/components/conversation/assistant-reply.md) | Conversation | No | What the Agent composes each turn: reply text, cards, follow-ups, quick replies, and actions. |
| [Quick reply](https://crossword.ai/docs/components/conversation/assistant-reply.md#quick-reply) | Conversation | No | A one-tap answer with a fixed value, such as Yes, No, or Size 9, inside an assistant reply. |
| [Feedback and CSAT](https://crossword.ai/docs/components/conversation/feedback.md) | Conversation | No | A thumbs up or down on a reply, and a satisfaction survey card at the end of a conversation. |
| [Product card](https://crossword.ai/docs/components/cards/product-card.md) | Cards | No | A single product with image, price, variants, and actions. |
| [Product collection](https://crossword.ai/docs/components/cards/product-collection.md) | Cards | No | Several product cards under a heading, as a carousel, grid, or list, ranked and optionally filtered. |
| [Product detail](https://crossword.ai/docs/components/cards/product-detail.md) | Cards | No | One product in full, with a size choice and actions. |
| [Comparison card](https://crossword.ai/docs/components/cards/comparison-card.md) | Cards | No | Two or more products compared across attributes, with an explanation. |
| [Cart and checkout card](https://crossword.ai/docs/components/cards/cart-checkout-card.md) | Cards | No | The shopper's basket, totals, and checkout controls. |
| [Order and refund card](https://crossword.ai/docs/components/cards/order-refund-card.md) | Cards | No | An order reference, its status, and the actions a shopper can take. |
| [Complete the look](https://crossword.ai/docs/components/interactive/complete-the-look.md) | Interactive | No | A set built around one product. Pieces can be selected, swapped, or all added to cart. |
| [Quiz](https://crossword.ai/docs/components/interactive/quiz.md) | Interactive | No | A guided set of questions that ends in a recommendation. |
| [Form](https://crossword.ai/docs/components/interactive/form.md) | Interactive | No | Contact collection and other forms, with fields, validation, and consent. |
| [Game](https://crossword.ai/docs/components/interactive/game.md) | Interactive | No | A rules-based interaction with an outcome or reward. |
| [Dynamic components](https://crossword.ai/docs/components/dynamic/overview.md) | Dynamic components | No. Page group and placement | Small AI blocks on your store pages, made from five templates: Suggested questions, AI summary, Product Q\&A, Ask AI button, and Summarize link. |

## Rules

Crossword uses two kinds of rule. An [entry point](https://crossword.ai/docs/orchestration/rules.md#entry-points) selects the active Journey, and everything the Journey holds follows from it.

* **Conversation starters** carry no rule of their own. They belong to the active Journey and show whenever it applies. Each routes to a named Agent.
* **Proactive messages** carry a "shows when" rule. Each shows when its rule is met inside the active Journey, and routes to a named Agent.

The welcome message carries no rule. It is global, set once in [Global settings](https://crossword.ai/docs/global/overview.md), and every shopper sees it. Follow-up suggestions carry no rule either: the Agent writes them for each reply. Dynamic components carry no rule: a [page group](https://crossword.ai/docs/components/dynamic/page-groups.md) picks their pages.

Plain components have properties and no rule. A product card shows because something placed it: a message that embeds it or the Agent composing the assistant reply. The widget components show wherever the widget is placed. Read [Rules](https://crossword.ai/docs/orchestration/rules.md) for what a rule can contain.

> [card] [Rules](https://crossword.ai/docs/orchestration/rules.md)
>
> Entry points, "shows when" rules, and page section rules.

> [card] [Journeys](https://crossword.ai/docs/orchestration/journeys.md)
>
> How the active Journey decides which starters and proactive messages a shopper sees.

## Example

In the dashboard, the library is one screen. The first four families run across the top as tabs, **Widget** through **Interactive**, and the selected family opens a grid of component tiles, each with its name, a one-line description, and a **Rule** badge where the component carries one. Selecting a tile, such as **Welcome message**, opens its properties in a panel on the right. Dynamic components have their own **Dynamic components** screen.


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