Icon Wall
Many small features as icons with a name: tiles or chips in three to six columns.
Install
npx ui8kit add icon-wallPulls in: box, compose, empty-state, feature-grid, grid, kit-box, kit-text, lucide-icon, section-frame, text, utils
Preview
And much more
Fast by default
Clear structure
Safe forms
Ready for any language
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 icon-wall<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->
<!--
A dense grid of small tiles: an icon and a short label. Axes: columns (3, 4, 6), item (tile: icon above the
label, chip: icon beside it), tone, density.
-->
<script lang="ts" module>
import type { Snippet } from "svelte";
import type { Feature } from "./feature-grid.types";
export type IconWallProps = {
id: string;
title: string;
features: Feature[];
empty?: string;
cols?: "3" | "4" | "6";
item?: "tile" | "chip";
tone?: "default" | "muted";
density?: "default" | "compact";
landmarkLabel?: string;
};
</script>
<script lang="ts">
import Box from "../compose/Box.svelte";
import Grid from "../compose/Grid.svelte";
import LucideIcon from "../icons/LucideIcon.svelte";
import Text from "../compose/Text.svelte";
import EmptyState from "../components/empty-state.svelte";
import SectionFrame from "../components/section-frame.svelte";
import { cn, fitCols } from "../utils";
let {
id,
title,
features,
empty = "",
cols = "4",
item = "tile",
tone = "default",
density = "default",
landmarkLabel,
}: IconWallProps = $props();
const askedCols = $derived(
((item as string) === "chip") && ((cols as string) === "6") ? "2-6"
: (cols as string) === "2" ? "2"
: (cols as string) === "3" ? "2-3"
: (cols as string) === "4" ? "2-4"
: "3-6"
);
const wallCols = $derived(fitCols(askedCols, (features?.length ?? 0)));
</script>
<SectionFrame id={id} title={title} tone={tone} density={density} landmarkLabel={landmarkLabel}>
{#if ((features?.length ?? 0) === 0)}
<EmptyState icon="layout-grid" title={empty} />
{:else}
<Grid cols={wallCols} class="gap-4" data-slot="items">
{#each features as f (f.id)}
<Box
class={cn(
"flex items-center gap-2",
"rounded bg-card inset-ring inset-ring-border",
(
(item as string) === "tile" ? cn("flex-col justify-center text-center", (((density as string) === "compact") ? "p-4" : "p-6"))
: "px-4 py-2"
)
)}
data-slot="item"
>
<LucideIcon name={f.icon} size={(((item as string) === "tile") ? 24 : 16)} />
<Text size="sm" weight="semibold">
{f.title}
</Text>
</Box>
{/each}
</Grid>
{/if}
</SectionFrame>
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 icon-wall// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.
/**
* A dense grid of small tiles: an icon and a short label. Axes: columns (3, 4, 6), item (tile: icon above the
* label, chip: icon beside it), tone, density.
*/
import { type ReactNode } from "react";
import { Box, Grid, Text } from "../compose";
import { LucideIcon } from "../icons/LucideIcon";
import { EmptyState } from "../components/empty-state";
import { SectionFrame } from "../components/section-frame";
import { cn, fitCols } from "../utils";
import type { Feature } from "./feature-grid.types";
export type IconWallProps = {
id: string;
title: string;
features: Feature[];
empty?: string;
cols?: "3" | "4" | "6";
item?: "tile" | "chip";
tone?: "default" | "muted";
density?: "default" | "compact";
landmarkLabel?: string;
};
export function IconWall({
id,
title,
features,
empty = "",
cols = "4",
item = "tile",
tone = "default",
density = "default",
landmarkLabel,
}: IconWallProps) {
const askedCols =
((item as string) === "chip") && ((cols as string) === "6") ? "2-6"
: (cols as string) === "2" ? "2"
: (cols as string) === "3" ? "2-3"
: (cols as string) === "4" ? "2-4"
: "3-6";
const wallCols = fitCols(askedCols, (features?.length ?? 0));
return (
<SectionFrame id={id} title={title} tone={tone} density={density} landmarkLabel={landmarkLabel}>
{((features?.length ?? 0) === 0) ? (
<EmptyState icon="layout-grid" title={empty} />
) : (
<Grid cols={wallCols} className="gap-4" data-slot="items">
{(features ?? []).map((f) => (
<Box key={f.id}
className={cn(
"flex items-center gap-2",
"rounded bg-card inset-ring inset-ring-border",
(
(item as string) === "tile" ? cn("flex-col justify-center text-center", (((density as string) === "compact") ? "p-4" : "p-6"))
: "px-4 py-2"
)
)}
data-slot="item"
>
<LucideIcon name={f.icon} size={(((item as string) === "tile") ? 24 : 16)} />
<Text size="sm" weight="semibold">
{f.title}
</Text>
</Box>
))}
</Grid>
)}
</SectionFrame>
);
}
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 icon-wall<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->
<!--
A dense grid of small tiles: an icon and a short label. Axes: columns (3, 4, 6), item (tile: icon above the
label, chip: icon beside it), tone, density.
-->
<script lang="ts">
import type { Feature } from "./feature-grid.types";
export type IconWallProps = {
id: string;
title: string;
features: Feature[];
empty?: string;
cols?: "3" | "4" | "6";
item?: "tile" | "chip";
tone?: "default" | "muted";
density?: "default" | "compact";
landmarkLabel?: string;
};
</script>
<script setup lang="ts">
import { computed } from "vue";
import Box from "../compose/Box.vue";
import Grid from "../compose/Grid.vue";
import LucideIcon from "../icons/LucideIcon.vue";
import Text from "../compose/Text.vue";
import EmptyState from "../components/empty-state.vue";
import SectionFrame from "../components/section-frame.vue";
import { cn, fitCols } from "../utils";
const {
id,
title,
features,
empty = "",
cols = "4",
item = "tile",
tone = "default",
density = "default",
landmarkLabel,
} = defineProps<IconWallProps>();
const askedCols = computed(() =>
((item as string) === "chip") && ((cols as string) === "6") ? "2-6"
: (cols as string) === "2" ? "2"
: (cols as string) === "3" ? "2-3"
: (cols as string) === "4" ? "2-4"
: "3-6"
);
const wallCols = computed(() => fitCols(askedCols.value, (features?.length ?? 0)));
</script>
<template>
<SectionFrame :id="id" :title="title" :tone="tone" :density="density" :landmarkLabel="landmarkLabel">
<EmptyState v-if="((features?.length ?? 0) === 0)" icon="layout-grid" :title="empty" />
<Grid v-else :cols="wallCols" class="gap-4" data-slot="items">
<Box v-for="f in features" :key="f.id"
:class="cn(
'flex items-center gap-2',
'rounded bg-card inset-ring inset-ring-border',
(
(item as string) === 'tile' ? cn('flex-col justify-center text-center', (((density as string) === 'compact') ? 'p-4' : 'p-6'))
: 'px-4 py-2'
)
)"
data-slot="item"
>
<LucideIcon :name="f.icon" :size="(((item as string) === 'tile') ? 24 : 16)" />
<Text size="sm" weight="semibold">
{{ f.title }}
</Text>
</Box>
</Grid>
</SectionFrame>
</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 icon-wall// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.
/**
* A dense grid of small tiles: an icon and a short label. Axes: columns (3, 4, 6), item (tile: icon above the
* label, chip: icon beside it), tone, density.
*/
import { For, type JSX } from "solid-js";
import { Box, Grid, Text } from "../compose";
import { LucideIcon } from "../icons/LucideIcon";
import { EmptyState } from "../components/empty-state";
import { SectionFrame } from "../components/section-frame";
import { cn, fitCols } from "../utils";
import type { Feature } from "./feature-grid.types";
export type IconWallProps = {
id: string;
title: string;
features: Feature[];
empty?: string;
cols?: "3" | "4" | "6";
item?: "tile" | "chip";
tone?: "default" | "muted";
density?: "default" | "compact";
landmarkLabel?: string;
};
export function IconWall({
id,
title,
features,
empty = "",
cols = "4",
item = "tile",
tone = "default",
density = "default",
landmarkLabel,
}: IconWallProps) {
const askedCols =
((item as string) === "chip") && ((cols as string) === "6") ? "2-6"
: (cols as string) === "2" ? "2"
: (cols as string) === "3" ? "2-3"
: (cols as string) === "4" ? "2-4"
: "3-6";
const wallCols = fitCols(askedCols, (features?.length ?? 0));
return (
<SectionFrame id={id} title={title} tone={tone} density={density} landmarkLabel={landmarkLabel}>
{((features?.length ?? 0) === 0) ? (
<EmptyState icon="layout-grid" title={empty} />
) : (
<Grid cols={wallCols} class="gap-4" data-slot="items">
<For each={features ?? []}>{(f) => (
<Box
class={cn(
"flex items-center gap-2",
"rounded bg-card inset-ring inset-ring-border",
(
(item as string) === "tile" ? cn("flex-col justify-center text-center", (((density as string) === "compact") ? "p-4" : "p-6"))
: "px-4 py-2"
)
)}
data-slot="item"
>
<LucideIcon name={f.icon} size={(((item as string) === "tile") ? 24 : 16)} />
<Text size="sm" weight="semibold">
{f.title}
</Text>
</Box>
)}</For>
</Grid>
)}
</SectionFrame>
);
}
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 icon-wall// 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/icon-wall.json
package blocks
import (
"github.com/ui8kit/codegen/generated/templ/ui/box"
"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"
)
// IconWallProps are the props of IconWall; the values are the JSON shapes of the TypeScript props.
type IconWallProps struct {
Id any `json:"id"`
Title any `json:"title"`
Features any `json:"features"`
Empty any `json:"empty"`
Cols any `json:"cols"`
Item any `json:"item"`
Tone any `json:"tone"`
Density any `json:"density"`
LandmarkLabel any `json:"landmarkLabel"`
}
// A dense grid of small tiles: an icon and a short label. Axes: columns (3, 4, 6), item (tile: icon above the label, chip: icon beside it), tone, density.
templ IconWall(p IconWallProps) {
{{ vId := p.Id }}
{{ vTitle := p.Title }}
{{ vFeatures := p.Features }}
{{ vEmpty := uiutils.Def(p.Empty, "") }}
{{ vCols := uiutils.Def(p.Cols, "4") }}
{{ vItem := uiutils.Def(p.Item, "tile") }}
{{ vTone := uiutils.Def(p.Tone, "default") }}
{{ vDensity := uiutils.Def(p.Density, "default") }}
{{ vLandmarkLabel := p.LandmarkLabel }}
{{ vAskedCols := any(uiutils.Cond(uiutils.T(uiutils.And(uiutils.Eq(vItem, "chip"), uiutils.Eq(vCols, "6"))), "2-6", uiutils.Cond(uiutils.T(uiutils.Eq(vCols, "2")), "2", uiutils.Cond(uiutils.T(uiutils.Eq(vCols, "3")), "2-3", uiutils.Cond(uiutils.T(uiutils.Eq(vCols, "4")), "2-4", "3-6"))))) }}
{{ vWallCols := any(uiutils.FitCols(vAskedCols, uiutils.Len(vFeatures))) }}
@SectionFrame(SectionFrameProps{Id: vId, Title: vTitle, Tone: vTone, Density: vDensity, LandmarkLabel: vLandmarkLabel}) {
if uiutils.Eq(uiutils.Len(vFeatures), float64(0)) {
@EmptyState(EmptyStateProps{Icon: "layout-grid", Title: vEmpty})
} else {
@compose.Grid(compose.GridProps{Cols: uiutils.S(vWallCols), BoxProps: box.BoxProps{Class: "gap-4", Attrs: uiutils.Attrs("data-slot", "items")}}) {
for _, vF := range uiutils.L(vFeatures) {
@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv("flex items-center gap-2", "rounded bg-card inset-ring inset-ring-border", uiutils.Cond(uiutils.T(uiutils.Eq(vItem, "tile")), uiutils.Cnv("flex-col justify-center text-center", uiutils.Cond(uiutils.T(uiutils.Eq(vDensity, "compact")), "p-4", "p-6")), "px-4 py-2"))), Attrs: uiutils.Attrs("data-slot", "item")}}) {
@icons.LucideIcon(icons.LucideIconProps{Name: uiutils.S(uiutils.Get(vF, "icon")), Size: uiutils.I(uiutils.Cond(uiutils.T(uiutils.Eq(vItem, "tile")), float64(24), float64(16)))})
@compose.Text(compose.TextProps{Size: "sm", Weight: "semibold", TextProps: text.TextProps{}}) {
{ uiutils.Text(uiutils.Get(vF, "title")) }
}
}
}
}
}
}
}
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 icon-wall{#- 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/icon-wall.json
A dense grid of small tiles: an icon and a short label. Axes: columns (3, 4, 6), item (tile: icon above the label, chip: icon beside it), tone, density.
Props (p): id, title, features, empty, cols, item, tone, density, landmarkLabel. -#}
{%- set v_id = (p.id ?? null) -%}
{%- set v_title = (p.title ?? null) -%}
{%- set v_features = (p.features ?? null) -%}
{%- set v_empty = (p.empty ?? '') -%}
{%- set v_cols = (p.cols ?? '4') -%}
{%- set v_item = (p.item ?? 'tile') -%}
{%- set v_tone = (p.tone ?? 'default') -%}
{%- set v_density = (p.density ?? 'default') -%}
{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}
{%- set v_askedCols = (og_t(og_and([og_eq(v_item, 'chip'), og_eq(v_cols, '6')])) ? '2-6' : (og_t(og_eq(v_cols, '2')) ? '2' : (og_t(og_eq(v_cols, '3')) ? '2-3' : (og_t(og_eq(v_cols, '4')) ? '2-4' : '3-6')))) -%}
{%- set v_wallCols = og_fit_cols(v_askedCols, og_len(v_features)) -%}
{%- set c_4 -%}
{%- if og_t(og_eq(og_len(v_features), 0)) %}
{{ include('blocks/empty-state.html.twig', {'p': {'icon': 'layout-grid', 'title': v_empty}}, with_context = false) }}
{%- else %}
{%- set c_3 -%}
{%- for v_f in og_l(v_features) %}
{%- set c_2 -%}
{{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_f, ['icon'])), 'size': og_i((og_t(og_eq(v_item, 'tile')) ? 24 : 16))}, with_context = false) }}
{%- set c_1 -%}
{{ og_text(og_get(v_f, ['title'])) }}
{%- endset -%}
{{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_1}, with_context = false) }}
{%- endset -%}
{{ include('compose/Box.html.twig', {'class': og_s(og_cnv(['flex items-center gap-2', 'rounded bg-card inset-ring inset-ring-border', (og_t(og_eq(v_item, 'tile')) ? og_cnv(['flex-col justify-center text-center', (og_t(og_eq(v_density, 'compact')) ? 'p-4' : 'p-6')]) : 'px-4 py-2')])), 'attrs': og_attrs(['data-slot', 'item']), 'children': c_2}, with_context = false) }}
{%- endfor %}
{%- endset -%}
{{ include('compose/Grid.html.twig', {'cols': og_s(v_wallCols), 'class': 'gap-4', 'attrs': og_attrs(['data-slot', 'items']), 'children': c_3}, with_context = false) }}
{%- endif %}
{%- endset -%}
{{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'tone': v_tone, 'density': v_density, 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_4)}, 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 icon-wall{* 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/icon-wall.json
A dense grid of small tiles: an icon and a short label. Axes: columns (3, 4, 6), item (tile: icon above the label, chip: icon beside it), tone, density.
Props (p): id, title, features, empty, cols, item, tone, density, landmarkLabel. *}
{var $v_id = ($p['id'] ?? null)}
{var $v_title = ($p['title'] ?? null)}
{var $v_features = ($p['features'] ?? null)}
{var $v_empty = ($p['empty'] ?? '')}
{var $v_cols = ($p['cols'] ?? '4')}
{var $v_item = ($p['item'] ?? 'tile')}
{var $v_tone = ($p['tone'] ?? 'default')}
{var $v_density = ($p['density'] ?? 'default')}
{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}
{var $v_askedCols = (og_t(og_and([og_eq($v_item, 'chip'), og_eq($v_cols, '6')])) ? '2-6' : (og_t(og_eq($v_cols, '2')) ? '2' : (og_t(og_eq($v_cols, '3')) ? '2-3' : (og_t(og_eq($v_cols, '4')) ? '2-4' : '3-6'))))}
{var $v_wallCols = og_fit_cols($v_askedCols, og_len($v_features))}
{capture $c_4}
{if og_t(og_eq(og_len($v_features), 0))}
{=og_include('blocks/empty-state.latte', ['p' => ['icon' => 'layout-grid', 'title' => $v_empty]])|noescape}
{else}
{capture $c_3}
{foreach og_l($v_features) as $v_f}
{capture $c_2}
{=og_include('icons/LucideIcon.latte', ['name' => og_s(og_get($v_f, ['icon'])), 'size' => og_i((og_t(og_eq($v_item, 'tile')) ? 24 : 16))])|noescape}
{capture $c_1}
{=og_text(og_get($v_f, ['title']))}
{/capture}
{=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_1])|noescape}
{/capture}
{=og_include('compose/Box.latte', ['class' => og_s(og_cnv(['flex items-center gap-2', 'rounded bg-card inset-ring inset-ring-border', (og_t(og_eq($v_item, 'tile')) ? og_cnv(['flex-col justify-center text-center', (og_t(og_eq($v_density, 'compact')) ? 'p-4' : 'p-6')]) : 'px-4 py-2')])), 'attrs' => og_attrs(['data-slot', 'item']), 'children' => (string) $c_2])|noescape}
{/foreach}
{/capture}
{=og_include('compose/Grid.latte', ['cols' => og_s($v_wallCols), 'class' => 'gap-4', 'attrs' => og_attrs(['data-slot', 'items']), 'children' => (string) $c_3])|noescape}
{/if}
{/capture}
{=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'tone' => $v_tone, 'density' => $v_density, 'landmarkLabel' => $v_landmarkLabel], 'children' => og_markup($c_4)])|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 icon-wall{#- 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/icon-wall.json
A dense grid of small tiles: an icon and a short label. Axes: columns (3, 4, 6), item (tile: icon above the label, chip: icon beside it), tone, density.
Props (p): id, title, features, empty, cols, item, tone, density, landmarkLabel. -#}
{%- set v_id = og_def(p['id'], none) -%}
{%- set v_title = og_def(p['title'], none) -%}
{%- set v_features = og_def(p['features'], none) -%}
{%- set v_empty = og_def(p['empty'], '') -%}
{%- set v_cols = og_def(p['cols'], '4') -%}
{%- set v_item = og_def(p['item'], 'tile') -%}
{%- set v_tone = og_def(p['tone'], 'default') -%}
{%- set v_density = og_def(p['density'], 'default') -%}
{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}
{%- set v_askedCols = ('2-6' if og_t(og_and([og_eq(v_item, 'chip'), og_eq(v_cols, '6')])) else ('2' if og_t(og_eq(v_cols, '2')) else ('2-3' if og_t(og_eq(v_cols, '3')) else ('2-4' if og_t(og_eq(v_cols, '4')) else '3-6')))) -%}
{%- set v_wallCols = og_fit_cols(v_askedCols, og_len(v_features)) -%}
{%- set c_4 -%}
{%- if og_t(og_eq(og_len(v_features), 0)) %}
{{ og_include('blocks/empty-state.html.j2', {'p': {'icon': 'layout-grid', 'title': v_empty}}) }}
{%- else %}
{%- set c_3 -%}
{%- for v_f in og_l(v_features) %}
{%- set c_2 -%}
{{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': og_s(og_get(v_f, ['icon'])), 'Size': og_i((24 if og_t(og_eq(v_item, 'tile')) else 16))}}) }}
{%- set c_1 -%}
{{ og_text(og_get(v_f, ['title'])) }}
{%- endset -%}
{{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Weight': 'semibold'}, 'children': c_1}) }}
{%- endset -%}
{{ og_include('compose/box.html.j2', {'p': {'Class': og_s(og_cnv(['flex items-center gap-2', 'rounded bg-card inset-ring inset-ring-border', (og_cnv(['flex-col justify-center text-center', ('p-4' if og_t(og_eq(v_density, 'compact')) else 'p-6')]) if og_t(og_eq(v_item, 'tile')) else 'px-4 py-2')])), 'Attrs': og_attrs(['data-slot', 'item'])}, 'children': c_2}) }}
{%- endfor %}
{%- endset -%}
{{ og_include('compose/grid.html.j2', {'p': {'Cols': og_s(v_wallCols), 'Class': 'gap-4', 'Attrs': og_attrs(['data-slot', 'items'])}, 'children': c_3}) }}
{%- endif %}
{%- endset -%}
{{ og_include('blocks/section-frame.html.j2', {'p': {'id': v_id, 'title': v_title, 'tone': v_tone, 'density': v_density, 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_4)}) }}
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.
A dense grid of small tiles: an icon and a short label. Axes: columns (3, 4, 6), item (tile: icon above the label, chip: icon beside it), tone, density.
| Prop | Type | Default | Description |
|---|---|---|---|
| id (required) | string | - | |
| title (required) | string | - | |
| features (required) | Feature[] | - | |
| empty | string | "" | the text of the empty state (no records), from the dictionary |
| cols | "3" | "4" | "6" | "4" | |
| item | "tile" | "chip" | "tile" | |
| tone | "default" | "muted" | "default" | |
| density | "default" | "compact" | "default" | |
| landmarkLabel | string | - | accessible name of the landmark of this component when the page shows it more than once (a variant); replaces the heading name of the root landmark, follows the name of a nested one |