Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
177 changes: 125 additions & 52 deletions overview/creating-first-pages/different-slices-examples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,139 +3,212 @@
description: "Examples of every slice type available for Architect pages"
---

Slices are the building blocks of an Architect page. Think of them as reusable page components (text, images, tables, testimonials, CTAs) that the agent assembles into a full page based on your page context.

Check warning on line 6 in overview/creating-first-pages/different-slices-examples.mdx

View check run for this annotation

Mintlify / Mintlify Validation (architect-d889a35e) - vale-spellcheck

overview/creating-first-pages/different-slices-examples.mdx#L6

Did you really mean 'CTAs'?

## **TextContainer**

![Screenshot 2026-02-01 at 17.35.21.png](/overview/images/Screenshot_2026-02-01_at_17.35.21.png)
<Frame>
<img src="/overview/images/slice-text-container.png" alt="TextContainer slice showing a hero heading and body text with keyword highlighting" />
</Frame>

**Best Used For:** Rendering **formatted text content** with markdown support including headings, bold, italic, links, lists, and inline code. Supports [keyword] highlighting for interactive elements. This is the foundational component for any text-heavy content.
**Best Used For:** Rendering **formatted text content** with markdown support including headings, bold, italic, links, lists, and inline code. Supports keyword highlighting for interactive hover metadata. This is the foundational component for any text-heavy content.

Text types include:

- **hero** - Large heading for the start of a page
- **headline** - Section heading for content breaks
- **body** - Standard paragraph text

---

## **ImageContainer**

![Screenshot 2026-02-01 at 17.34.53.png](/overview/images/Screenshot_2026-02-01_at_17.34.53.png)
<Frame>
<img src="/overview/images/slice-image-container.png" alt="ImageContainer slice showing body text above a responsive image" />
</Frame>

**Best Used For:** Displaying **responsive images** with optional alt text for accessibility. Supports size variants:

- **small** - 60% width, centered
- **medium** - 100% width (default)
- **large** - 60vw (breaks out of container)
- **full** - 100vw (full bleed)

**Best Used For:**
---

## **VideoContainer**

Displaying **responsive images** with optional alt text for accessibility. Supports size variants:
<Frame>
<img src="/overview/images/slice-video-container.png" alt="VideoContainer slice showing an embedded YouTube video with a play button overlay" />
</Frame>

- small: 60% width, centered
- medium: 100% width (default)
- large: 60vw (breaks out of container)
- full: 100vw (full bleed)
**Best Used For:** Embedding **video content** directly into a page. Video is one of the highest-converting assets for landing pages, making this slice ideal for product demos, explainer videos, or customer story recordings.

---

## **Table**

![Screenshot 2026-02-01 at 17.36.26.png](/overview/images/Screenshot_2026-02-01_at_17.36.26.png)
<Frame>
<img src="/overview/images/slice-table.png" alt="Table slice showing a comparison between Static Website and Architect across five categories" />
</Frame>

**Best Used For:** Organizing and displaying **structured, tabular data** with column headers and rows. Ideal for pricing comparisons, feature matrices, specifications, or any two-dimensional data that benefits from a grid layout with striped rows and hover effects.

You can optionally highlight a specific column to draw attention to it (e.g., highlighting your product in a comparison table). Set `highlightedColumnIndex` to the 0-based index of the column you want to emphasize, or leave it unset for no highlight.

---

## **FeatureCards**

![Screenshot 2026-02-01 at 17.34.29.png](/overview/images/Screenshot_2026-02-01_at_17.34.29.png)

**Best Used For:**
<Frame>
<img src="/overview/images/slice-feature-cards.png" alt="FeatureCards slice showing two numbered cards with headlines and descriptions" />
</Frame>

Presenting

**2-6 features, benefits, or value propositions**

in a scannable card grid layout (up to 3 per row). Each card contains:
**Best Used For:** Presenting **2-6 features, benefits, or value propositions** in a scannable card grid layout (up to 3 per row). Each card contains:

- Headline (2-5 words)
- Content description (1-2 sentences)
- Optional icon
- Optional feature image (placeholder `{ category: "product" | "brand" }` or resolved image asset)
- Optional feature image

### With images

FeatureCards also support an image mode where each card includes a prominent visual alongside the text content.

Supports imageMode: fill (photos) or contain (diagrams/logos).
<Frame>
<img src="/overview/images/slice-feature-cards-with-images.png" alt="FeatureCards slice with a large image alongside the card text content" />
</Frame>

Supports `imageMode: fill` (photos) or `contain` (diagrams/logos).

---

## **TestimonialCarousel**
## **Frame**

![Frame slice showing collapsible expandable sections](/overview/images/Screenshot_2026-02-01_at_17.43.31.png)

**Best Used For:** Creating **collapsible, expandable sections** that organize related content under a header title. Frames can contain child components and are ideal for:

- FAQ-style expandable sections
- Progressive disclosure of detailed information
- Grouping related content with show/hide functionality


---

## **FrameList**

![FrameList slice showing grouped Frame components](/overview/images/Screenshot_2026-02-01_at_17.32.28.png)

**Best Used For:** **Grouping multiple Frame components** with tighter spacing. Use when frames should appear closer together as a cohesive unit (e.g., a series of FAQ items or related expandable sections).

![Screenshot 2026-02-01 at 17.50.28.png](/overview/images/Screenshot_2026-02-01_at_17.50.28.png)
---

## **TestimonialCarousel**

**Best Used For:**
<Frame>
<img src="/overview/images/slice-testimonial-carousel.png" alt="TestimonialCarousel slice showing a customer quote with author name, title, and navigation controls" />
</Frame>

Adding **social proof** through rotating customer testimonials displayed as a horizontal carousel with quote styling. Each testimonial includes:
**Best Used For:** Adding **social proof** through rotating customer testimonials displayed as a horizontal carousel with quote styling. Each testimonial includes:

- Quote text (15-40 words, customer's voice)
- Author name
- Optional title/role
- Optional company name

Includes navigation dots for multiple testimonials.
Includes navigation arrows and dots for browsing multiple testimonials.

---

## **CallToActionCard**

![Screenshot 2026-02-01 at 17.20.06.png](/overview/images/Screenshot_2026-02-01_at_17.20.06.png)
<Frame>
<img src="/overview/images/slice-call-to-action-card.png" alt="CallToActionCard slice showing a headline, description, and Book demo button" />
</Frame>

**Best Used For:** Creating a **prominent conversion point** with a bold headline (5-10 words), supporting description (1-2 sentences), and an action button. Actions can be:

**Best Used For:**
- **open-url** - Navigate to a URL
- **form** - Open an email capture form modal

Creating a **prominent conversion point** with a bold headline (5-10 words), supporting description (1-2 sentences), and an action button. Actions can be:
---

## **Threads**

- open-url: Navigate to a URL
- form: Open an email capture form modal
<Frame>
<img src="/overview/images/slice-threads.png" alt="Threads slice showing three selectable cards for sales teams, marketing teams, and ecommerce" />
</Frame>

**Best Used For:** Enabling **conversation continuation and user interaction**.

- Presents a question with 2-4 selectable options
- Each option has a label and action
- **Qualifies users** by gathering information (company size, needs, budget)
- Dynamically routes users to appropriate content paths

---

## **StatsCards**

![Screenshot 2026-02-01 at 17.32.02.png](/overview/images/Screenshot_2026-02-01_at_17.32.02.png)
<Frame>
<img src="/overview/images/slice-stats-cards.png" alt="StatsCards slice showing three statistics: conversion lift percentages and CPC reduction" />
</Frame>

**Best Used For:** Displaying **2-4 highlighted statistics** as large, prominent numbers with labels. Builds credibility by making abstract benefits tangible (e.g., "10K+" Active Users, "99.9%" Uptime, "$2M" Revenue Generated). Values can include formatting characters.
**Best Used For:** Displaying **2-4 highlighted statistics** as large, prominent numbers with labels. Builds credibility by making abstract benefits tangible (e.g., "+17.9%" Conversion lift, "99.9%" Uptime, "$2M" Revenue Generated). Values can include formatting characters.

---

## **LogoMarquee**

![Screenshot 2026-02-01 at 17.50.07.png](/overview/images/Screenshot_2026-02-01_at_17.50.07.png)
![LogoMarquee slice showing a scrolling banner of partner logos](/overview/images/Screenshot_2026-02-01_at_17.50.07.png)

**Best Used For:** Building **trust and credibility** through a continuously scrolling banner of customer/partner logos (similar to "Trusted by..." sections). Logos are displayed with a grayscale filter for visual consistency. Supports speed control and per-item duration for fine-tuning.

Check warning on line 166 in overview/creating-first-pages/different-slices-examples.mdx

View check run for this annotation

Mintlify / Mintlify Validation (architect-d889a35e) - vale-spellcheck

overview/creating-first-pages/different-slices-examples.mdx#L166

Did you really mean 'grayscale'?

---

## **Frame**
## **CustomComponent**

![Screenshot 2026-02-01 at 17.43.31.png](/overview/images/Screenshot_2026-02-01_at_17.43.31.png)
**Best Used For:** Rendering **custom or dynamic components** that don't fit into the standard slice types. Use this for specialized content that requires unique layouts or behavior beyond what the built-in slices provide.

**Best Used For:**

Creating **collapsible, expandable sections** that organize related content under a header title. Frames can contain child components and are ideal for:
---

- FAQ-style expandable sections
- Progressive disclosure of detailed information
- Grouping related content with show/hide functionality
## **Footer**

**Best Used For:** Adding a **page footer** with branding, links, or closing content. This is a page-level component that appears at the bottom of the page.

<Frame>
<img src="/overview/images/slice-footer-links.png" alt="Footer links showing Company and Socials columns with navigation links" />
</Frame>

Properties: id, title, collapsible, defaultOpen.

---

## **FrameList**
## **Action Widgets**

![Screenshot 2026-02-01 at 17.32.28.png](/overview/images/Screenshot_2026-02-01_at_17.32.28.png)
Action widgets are page-level, static components that are set on the page to show trust. We recommend setting these up.

**Best Used For:** **Grouping multiple Frame components** with tighter spacing. Use when frames should appear closer together as a cohesive unit (e.g., a series of FAQ items or related expandable sections).
<Frame>
<img src="/overview/images/slice-footer-action-widgets.png" alt="Footer action widgets showing a logo marquee and watch demo video button" />
</Frame>

---

## **Threads (previously Branching)**

![Screenshot 2026-02-01 at 17.33.27.png](/overview/images/Screenshot_2026-02-01_at_17.33.27.png)
## **Left Hand Side CTA**

**Best Used For:** Enabling **conversation continuation and user interaction**.
This is the main CTA that follows the user on the page. It is set at the page level as well.

- Presents a question with 2-4 selectable options
- Each option has a label and action
- **Qualifies users** by gathering information (company size, needs, budget)
- Dynamically routes users to appropriate content paths
<Frame>
<img src="/overview/images/slice-footer-action-widget-cta.png" alt="Footer showing a CTA card with logo, action button, logo marquee, and video widget" />
</Frame>

---

## **Question Bar**

The question bar is a constant bar that sits at the bottom of the page where visitors can ask questions. When a user asks a question, more components will automatically generate at the end of the page.

<Frame>
<img src="/overview/images/slice-footer-question-bar.png" alt="Footer question bar showing a text input asking What would you like to see?" />
</Frame>
Binary file added overview/images/slice-call-to-action-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overview/images/slice-feature-cards.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overview/images/slice-footer-action-widgets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overview/images/slice-footer-links.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overview/images/slice-footer-question-bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overview/images/slice-image-container.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overview/images/slice-stats-cards.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overview/images/slice-table-no-highlight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overview/images/slice-table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overview/images/slice-testimonial-carousel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overview/images/slice-text-container.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overview/images/slice-threads.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overview/images/slice-video-container.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading