Faq Cards
Faq Cards component
Install
npx ui8kit add faq-cardsPulls in: article-block, badge, box, button, compose, faq-split, kit-box, kit-button, kit-text, lucide-icon, stack, text, title, utils
Preview
How do I start a new site?
Pick a template, change the texts in one dictionary and publish. Most sites are live in an hour.
Can I use my own domain?
Yes. Point your domain at the site and we issue the certificate for you.
When am I billed?
On the same day each month. You can switch to yearly billing and save two months.
Do you give refunds?
Within 30 days of a payment, no questions asked.
How do I invite my team?
Open the settings, add their addresses and choose what each person can edit.
Can I take my content with me?
Every plan exports all pages and texts as plain files at any time.
Code
Point the CLI at this runtime once, then add the item:
npx ui8kit init --yes --framework svelte --dir src --registry-url https://registry.buildy.tw/svelte --strict-cdnnpx ui8kit add faq-cards<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->
<!--
The questions of FaqSplit as cards: the topic, the question, the answer and a read-more link; with an icon
square on top in the icons shape. Shapes: grid3, grid4, icons (three columns).
-->
<script lang="ts" module>
import type { Snippet } from "svelte";
import type { Question, FaqSplitLabels } from "../blocks/faq-split.types";
export type FaqCardsProps = {
items: Question[];
labels: FaqSplitLabels;
cards?: "grid3" | "grid4" | "icons";
};
</script>
<script lang="ts">
import Badge from "../compose/Badge.svelte";
import Box from "../compose/Box.svelte";
import Button from "../compose/Button.svelte";
import LucideIcon from "../icons/LucideIcon.svelte";
import Stack from "../compose/Stack.svelte";
import Text from "../compose/Text.svelte";
import Title from "../compose/Title.svelte";
import ArticleBlock from "../components/article-block.svelte";
let { items, labels, cards = "grid3" }: FaqCardsProps = $props();
</script>
<Box
class={
(cards as string) === "grid4" ? "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4"
: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3"
}
data-slot="faq"
>
{#each items as q (q.id)}
<ArticleBlock class="rounded bg-card inset-ring inset-ring-border flex flex-col gap-4 p-6" testid="faq-card">
{#if ((cards as string) === "icons")}
<Box class="flex size-10 shrink-0 items-center justify-center rounded bg-muted">
<LucideIcon name={q.icon} size={20} />
</Box>
{/if}
<Stack gap="2">
<Badge variant="secondary" size="sm" class="w-fit">
{q.category}
</Badge>
<Title as={3} size="base" weight="semibold">
{q.question}
</Title>
<Text size="sm" class="text-muted-foreground">
{q.answer}
</Text>
</Stack>
<Box class="mt-auto">
<Button variant="link" size="sm" class="gap-2 px-0 font-medium">
{labels.more}
<LucideIcon name="arrow-right" size={16} />
</Button>
</Box>
</ArticleBlock>
{/each}
</Box>
Point the CLI at this runtime once, then add the item:
npx ui8kit init --yes --framework react --dir src --registry-url https://registry.buildy.tw/react --strict-cdnnpx ui8kit add faq-cards// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.
/**
* The questions of FaqSplit as cards: the topic, the question, the answer and a read-more link; with an icon
* square on top in the icons shape. Shapes: grid3, grid4, icons (three columns).
*/
import { type ReactNode } from "react";
import { Badge, Box, Button, Stack, Text, Title } from "../compose";
import { LucideIcon } from "../icons/LucideIcon";
import { ArticleBlock } from "../components/article-block";
import type { Question, FaqSplitLabels } from "../blocks/faq-split.types";
export type FaqCardsProps = {
items: Question[];
labels: FaqSplitLabels;
cards?: "grid3" | "grid4" | "icons";
};
export function FaqCards({ items, labels, cards = "grid3" }: FaqCardsProps) {
return (
<Box
className={
(cards as string) === "grid4" ? "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4"
: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3"
}
data-slot="faq"
>
{(items ?? []).map((q) => (
<ArticleBlock key={q.id}
className="rounded bg-card inset-ring inset-ring-border flex flex-col gap-4 p-6"
testid="faq-card"
>
{((cards as string) === "icons") ? (
<Box className="flex size-10 shrink-0 items-center justify-center rounded bg-muted">
<LucideIcon name={q.icon} size={20} />
</Box>
) : null}
<Stack gap="2">
<Badge variant="secondary" size="sm" className="w-fit">
{q.category}
</Badge>
<Title as={3} size="base" weight="semibold">
{q.question}
</Title>
<Text size="sm" className="text-muted-foreground">
{q.answer}
</Text>
</Stack>
<Box className="mt-auto">
<Button variant="link" size="sm" className="gap-2 px-0 font-medium">
{labels.more}
<LucideIcon name="arrow-right" size={16} />
</Button>
</Box>
</ArticleBlock>
))}
</Box>
);
}
Point the CLI at this runtime once, then add the item:
npx ui8kit init --yes --framework vue --dir src --registry-url https://registry.buildy.tw/vue --strict-cdnnpx ui8kit add faq-cards<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->
<!--
The questions of FaqSplit as cards: the topic, the question, the answer and a read-more link; with an icon
square on top in the icons shape. Shapes: grid3, grid4, icons (three columns).
-->
<script lang="ts">
import type { Question, FaqSplitLabels } from "../blocks/faq-split.types";
export type FaqCardsProps = {
items: Question[];
labels: FaqSplitLabels;
cards?: "grid3" | "grid4" | "icons";
};
</script>
<script setup lang="ts">
import Badge from "../compose/Badge.vue";
import Box from "../compose/Box.vue";
import Button from "../compose/Button.vue";
import LucideIcon from "../icons/LucideIcon.vue";
import Stack from "../compose/Stack.vue";
import Text from "../compose/Text.vue";
import Title from "../compose/Title.vue";
import ArticleBlock from "../components/article-block.vue";
const { items, labels, cards = "grid3" } = defineProps<FaqCardsProps>();
</script>
<template>
<Box
:class="
(cards as string) === 'grid4' ? 'grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4'
: 'grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3'
"
data-slot="faq"
>
<ArticleBlock
v-for="q in items"
:key="q.id"
class="rounded bg-card inset-ring inset-ring-border flex flex-col gap-4 p-6"
testid="faq-card"
>
<Box
v-if="((cards as string) === 'icons')"
class="flex size-10 shrink-0 items-center justify-center rounded bg-muted"
>
<LucideIcon :name="q.icon" :size="20" />
</Box>
<Stack gap="2">
<Badge variant="secondary" size="sm" class="w-fit">
{{ q.category }}
</Badge>
<Title :as="3" size="base" weight="semibold">
{{ q.question }}
</Title>
<Text size="sm" class="text-muted-foreground">
{{ q.answer }}
</Text>
</Stack>
<Box class="mt-auto">
<Button variant="link" size="sm" class="gap-2 px-0 font-medium">
{{ labels.more }}
<LucideIcon name="arrow-right" :size="16" />
</Button>
</Box>
</ArticleBlock>
</Box>
</template>
Point the CLI at this runtime once, then add the item:
npx ui8kit init --yes --framework solid --dir src --registry-url https://registry.buildy.tw/solid --strict-cdnnpx ui8kit add faq-cards// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.
/**
* The questions of FaqSplit as cards: the topic, the question, the answer and a read-more link; with an icon
* square on top in the icons shape. Shapes: grid3, grid4, icons (three columns).
*/
import { For, type JSX } from "solid-js";
import { Badge, Box, Button, Stack, Text, Title } from "../compose";
import { LucideIcon } from "../icons/LucideIcon";
import { ArticleBlock } from "../components/article-block";
import type { Question, FaqSplitLabels } from "../blocks/faq-split.types";
export type FaqCardsProps = {
items: Question[];
labels: FaqSplitLabels;
cards?: "grid3" | "grid4" | "icons";
};
export function FaqCards({ items, labels, cards = "grid3" }: FaqCardsProps) {
return (
<Box
class={
(cards as string) === "grid4" ? "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4"
: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3"
}
data-slot="faq"
>
<For each={items ?? []}>{(q) => (
<ArticleBlock class="rounded bg-card inset-ring inset-ring-border flex flex-col gap-4 p-6" testid="faq-card">
{((cards as string) === "icons") ? (
<Box class="flex size-10 shrink-0 items-center justify-center rounded bg-muted">
<LucideIcon name={q.icon} size={20} />
</Box>
) : null}
<Stack gap="2">
<Badge variant="secondary" size="sm" class="w-fit">
{q.category}
</Badge>
<Title as={3} size="base" weight="semibold">
{q.question}
</Title>
<Text size="sm" class="text-muted-foreground">
{q.answer}
</Text>
</Stack>
<Box class="mt-auto">
<Button variant="link" size="sm" class="gap-2 px-0 font-medium">
{labels.more}
<LucideIcon name="arrow-right" size={16} />
</Button>
</Box>
</ArticleBlock>
)}</For>
</Box>
);
}
Point the CLI at this runtime once, then add the item:
npx ui8kit init --yes --framework templ --dir src --registry-url https://registry.buildy.tw/templ --strict-cdnnpx ui8kit add faq-cards// Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.
// Source: packages/compose-gen/specs/organisms/faq-cards.json
package blocks
import (
"github.com/ui8kit/codegen/generated/templ/ui/box"
"github.com/ui8kit/codegen/generated/templ/ui/button"
"github.com/ui8kit/codegen/generated/templ/compose"
"github.com/ui8kit/codegen/generated/templ/icons"
"github.com/ui8kit/codegen/generated/templ/ui/text"
uiutils "github.com/ui8kit/codegen/generated/templ/orgutils"
)
// FaqCardsProps are the props of FaqCards; the values are the JSON shapes of the TypeScript props.
type FaqCardsProps struct {
Items any `json:"items"`
Labels any `json:"labels"`
Cards any `json:"cards"`
}
// The questions of FaqSplit as cards: the topic, the question, the answer and a read-more link; with an icon square on top in the icons shape. Shapes: grid3, grid4, icons (three columns).
templ FaqCards(p FaqCardsProps) {
{{ vItems := p.Items }}
{{ vLabels := p.Labels }}
{{ vCards := uiutils.Def(p.Cards, "grid3") }}
@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cond(uiutils.T(uiutils.Eq(vCards, "grid4")), "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4", "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3")), Attrs: uiutils.Attrs("data-slot", "faq")}}) {
for _, vQ := range uiutils.L(vItems) {
@ArticleBlock(ArticleBlockProps{Class: uiutils.Cnv("rounded bg-card inset-ring inset-ring-border flex flex-col gap-4 p-6"), Testid: "faq-card"}) {
if uiutils.Eq(vCards, "icons") {
@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: "flex size-10 shrink-0 items-center justify-center rounded bg-muted"}}) {
@icons.LucideIcon(icons.LucideIconProps{Name: uiutils.S(uiutils.Get(vQ, "icon")), Size: 20})
}
}
@compose.Stack(compose.StackProps{Gap: "2", BoxProps: box.BoxProps{}}) {
@compose.Badge(compose.BadgeProps{Variant: "secondary", Size: "sm", TextProps: text.TextProps{Class: "w-fit"}}) {
{ uiutils.Text(uiutils.Get(vQ, "category")) }
}
@compose.Title(compose.TitleProps{As: "3", Size: "base", Weight: "semibold", TextProps: text.TextProps{}}) {
{ uiutils.Text(uiutils.Get(vQ, "question")) }
}
@compose.Text(compose.TextProps{Size: "sm", TextProps: text.TextProps{Class: "text-muted-foreground"}}) {
{ uiutils.Text(uiutils.Get(vQ, "answer")) }
}
}
@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: "mt-auto"}}) {
@compose.Button(compose.ButtonProps{Variant: "link", Size: "sm", ButtonProps: button.ButtonProps{Class: "gap-2 px-0 font-medium"}}) {
{ uiutils.Text(uiutils.Get(vLabels, "more")) }
@icons.LucideIcon(icons.LucideIconProps{Name: "arrow-right", Size: 16})
}
}
}
}
}
}
Point the CLI at this runtime once, then add the item:
npx ui8kit init --yes --framework twig --dir src --registry-url https://registry.buildy.tw/twig --strict-cdnnpx ui8kit add faq-cards{#- Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.
Source: packages/compose-gen/specs/organisms/faq-cards.json
The questions of FaqSplit as cards: the topic, the question, the answer and a read-more link; with an icon square on top in the icons shape. Shapes: grid3, grid4, icons (three columns).
Props (p): items, labels, cards. -#}
{%- set v_items = (p.items ?? null) -%}
{%- set v_labels = (p.labels ?? null) -%}
{%- set v_cards = (p.cards ?? 'grid3') -%}
{%- set c_9 -%}
{%- for v_q in og_l(v_items) %}
{%- set c_8 -%}
{%- if og_t(og_eq(v_cards, 'icons')) %}
{%- set c_1 -%}
{{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_q, ['icon'])), 'size': 20}, with_context = false) }}
{%- endset -%}
{{ include('compose/Box.html.twig', {'class': 'flex size-10 shrink-0 items-center justify-center rounded bg-muted', 'children': c_1}, with_context = false) }}
{%- endif %}
{%- set c_5 -%}
{%- set c_2 -%}
{{ og_text(og_get(v_q, ['category'])) }}
{%- endset -%}
{{ include('compose/Badge.html.twig', {'variant': 'secondary', 'size': 'sm', 'class': 'w-fit', 'children': c_2}, with_context = false) }}
{%- set c_3 -%}
{{ og_text(og_get(v_q, ['question'])) }}
{%- endset -%}
{{ include('compose/Title.html.twig', {'as': 3, 'size': 'base', 'weight': 'semibold', 'children': c_3}, with_context = false) }}
{%- set c_4 -%}
{{ og_text(og_get(v_q, ['answer'])) }}
{%- endset -%}
{{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_4}, with_context = false) }}
{%- endset -%}
{{ include('compose/Stack.html.twig', {'gap': '2', 'children': c_5}, with_context = false) }}
{%- set c_7 -%}
{%- set c_6 -%}
{{ og_text(og_get(v_labels, ['more'])) }}
{{ include('icons/LucideIcon.html.twig', {'name': 'arrow-right', 'size': 16}, with_context = false) }}
{%- endset -%}
{{ include('compose/Button.html.twig', {'variant': 'link', 'size': 'sm', 'class': 'gap-2 px-0 font-medium', 'children': c_6}, with_context = false) }}
{%- endset -%}
{{ include('compose/Box.html.twig', {'class': 'mt-auto', 'children': c_7}, with_context = false) }}
{%- endset -%}
{{ include('blocks/article-block.html.twig', {'p': {'className': og_cnv(['rounded bg-card inset-ring inset-ring-border flex flex-col gap-4 p-6']), 'testid': 'faq-card'}, 'children': og_markup(c_8)}, with_context = false) }}
{%- endfor %}
{%- endset -%}
{{ include('compose/Box.html.twig', {'class': og_s((og_t(og_eq(v_cards, 'grid4')) ? 'grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4' : 'grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3')), 'attrs': og_attrs(['data-slot', 'faq']), 'children': c_9}, with_context = false) }}
Point the CLI at this runtime once, then add the item:
npx ui8kit init --yes --framework latte --dir src --registry-url https://registry.buildy.tw/latte --strict-cdnnpx ui8kit add faq-cards{* Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.
Source: packages/compose-gen/specs/organisms/faq-cards.json
The questions of FaqSplit as cards: the topic, the question, the answer and a read-more link; with an icon square on top in the icons shape. Shapes: grid3, grid4, icons (three columns).
Props (p): items, labels, cards. *}
{var $v_items = ($p['items'] ?? null)}
{var $v_labels = ($p['labels'] ?? null)}
{var $v_cards = ($p['cards'] ?? 'grid3')}
{capture $c_9}
{foreach og_l($v_items) as $v_q}
{capture $c_8}
{if og_t(og_eq($v_cards, 'icons'))}
{capture $c_1}
{=og_include('icons/LucideIcon.latte', ['name' => og_s(og_get($v_q, ['icon'])), 'size' => 20])|noescape}
{/capture}
{=og_include('compose/Box.latte', ['class' => 'flex size-10 shrink-0 items-center justify-center rounded bg-muted', 'children' => (string) $c_1])|noescape}
{/if}
{capture $c_5}
{capture $c_2}
{=og_text(og_get($v_q, ['category']))}
{/capture}
{=og_include('compose/Badge.latte', ['variant' => 'secondary', 'size' => 'sm', 'class' => 'w-fit', 'children' => (string) $c_2])|noescape}
{capture $c_3}
{=og_text(og_get($v_q, ['question']))}
{/capture}
{=og_include('compose/Title.latte', ['as' => 3, 'size' => 'base', 'weight' => 'semibold', 'children' => (string) $c_3])|noescape}
{capture $c_4}
{=og_text(og_get($v_q, ['answer']))}
{/capture}
{=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_4])|noescape}
{/capture}
{=og_include('compose/Stack.latte', ['gap' => '2', 'children' => (string) $c_5])|noescape}
{capture $c_7}
{capture $c_6}
{=og_text(og_get($v_labels, ['more']))}
{=og_include('icons/LucideIcon.latte', ['name' => 'arrow-right', 'size' => 16])|noescape}
{/capture}
{=og_include('compose/Button.latte', ['variant' => 'link', 'size' => 'sm', 'class' => 'gap-2 px-0 font-medium', 'children' => (string) $c_6])|noescape}
{/capture}
{=og_include('compose/Box.latte', ['class' => 'mt-auto', 'children' => (string) $c_7])|noescape}
{/capture}
{=og_include('blocks/article-block.latte', ['p' => ['className' => og_cnv(['rounded bg-card inset-ring inset-ring-border flex flex-col gap-4 p-6']), 'testid' => 'faq-card'], 'children' => og_markup($c_8)])|noescape}
{/foreach}
{/capture}
{=og_include('compose/Box.latte', ['class' => og_s((og_t(og_eq($v_cards, 'grid4')) ? 'grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4' : 'grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3')), 'attrs' => og_attrs(['data-slot', 'faq']), 'children' => (string) $c_9])|noescape}
Point the CLI at this runtime once, then add the item:
npx ui8kit init --yes --framework jinja2 --dir src --registry-url https://registry.buildy.tw/jinja2 --strict-cdnnpx ui8kit add faq-cards{#- Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.
Source: packages/compose-gen/specs/organisms/faq-cards.json
The questions of FaqSplit as cards: the topic, the question, the answer and a read-more link; with an icon square on top in the icons shape. Shapes: grid3, grid4, icons (three columns).
Props (p): items, labels, cards. -#}
{%- set v_items = og_def(p['items'], none) -%}
{%- set v_labels = og_def(p['labels'], none) -%}
{%- set v_cards = og_def(p['cards'], 'grid3') -%}
{%- set c_9 -%}
{%- for v_q in og_l(v_items) %}
{%- set c_8 -%}
{%- if og_t(og_eq(v_cards, 'icons')) %}
{%- set c_1 -%}
{{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': og_s(og_get(v_q, ['icon'])), 'Size': 20}}) }}
{%- endset -%}
{{ og_include('compose/box.html.j2', {'p': {'Class': 'flex size-10 shrink-0 items-center justify-center rounded bg-muted'}, 'children': c_1}) }}
{%- endif %}
{%- set c_5 -%}
{%- set c_2 -%}
{{ og_text(og_get(v_q, ['category'])) }}
{%- endset -%}
{{ og_include('compose/badge.html.j2', {'p': {'Variant': 'secondary', 'Size': 'sm', 'Class': 'w-fit'}, 'children': c_2}) }}
{%- set c_3 -%}
{{ og_text(og_get(v_q, ['question'])) }}
{%- endset -%}
{{ og_include('compose/title.html.j2', {'p': {'As': 3, 'Size': 'base', 'Weight': 'semibold'}, 'children': c_3}) }}
{%- set c_4 -%}
{{ og_text(og_get(v_q, ['answer'])) }}
{%- endset -%}
{{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_4}) }}
{%- endset -%}
{{ og_include('compose/stack.html.j2', {'p': {'Gap': '2'}, 'children': c_5}) }}
{%- set c_7 -%}
{%- set c_6 -%}
{{ og_text(og_get(v_labels, ['more'])) }}
{{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'arrow-right', 'Size': 16}}) }}
{%- endset -%}
{{ og_include('compose/button.html.j2', {'p': {'Variant': 'link', 'Size': 'sm', 'Class': 'gap-2 px-0 font-medium'}, 'children': c_6}) }}
{%- endset -%}
{{ og_include('compose/box.html.j2', {'p': {'Class': 'mt-auto'}, 'children': c_7}) }}
{%- endset -%}
{{ og_include('blocks/article-block.html.j2', {'p': {'className': og_cnv(['rounded bg-card inset-ring inset-ring-border flex flex-col gap-4 p-6']), 'testid': 'faq-card'}, 'children': og_markup(c_8)}) }}
{%- endfor %}
{%- endset -%}
{{ og_include('compose/box.html.j2', {'p': {'Class': og_s(('grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4' if og_t(og_eq(v_cards, 'grid4')) else 'grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3')), 'Attrs': og_attrs(['data-slot', 'faq'])}, 'children': c_9}) }}
Props
Names and types come from the xgen specs of the source. Standard HTML attributes (id, role, tabIndex, aria-*) pass through to the root element; the class prop is className in React.
The questions of FaqSplit as cards: the topic, the question, the answer and a read-more link; with an icon square on top in the icons shape. Shapes: grid3, grid4, icons (three columns).
| Prop | Type | Default | Description |
|---|---|---|---|
| items (required) | Question[] | - | |
| labels (required) | FaqSplitLabels | - | |
| cards | "grid3" | "grid4" | "icons" | "grid3" |