Skip to content
ui8kit

component / components

Feature Stat Rows

Feature Stat Rows component

Install

npx ui8kit add feature-stat-rows

Pulls in: box, compose, feature-grid, group, inline, kit-box, kit-text, lucide-icon, stack, stats-band, text, title, utils

Preview

12,400

Sites published

99.99%

Uptime

Fast by default

Pages render from static data and ship little script.

Clear structure

One heading per page, landmarks and a skip link come built in.

Safe forms

Inputs carry labels and errors are announced to assistive tools.

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-cdn
npx ui8kit add feature-stat-rows
components/feature-stat-rows.svelte
<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->
<!-- Two figures of FeatureSplit as cards, then three features as checked rows. -->
<script lang="ts" module>
  import type { Snippet } from "svelte";
  import type { Feature } from "../blocks/feature-grid.types";
  import type { Stat } from "../blocks/stats-band.types";

  export type FeatureStatRowsProps = {
    features: Feature[];
    stats: Stat[];
  };
</script>

<script lang="ts">
  import Box from "../compose/Box.svelte";
  import Group from "../compose/Group.svelte";
  import Inline from "../compose/Inline.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";

  let { features, stats }: FeatureStatRowsProps = $props();
</script>

<Stack gap="6" align="stretch" data-slot="feature-stat-rows">
  <Box class="grid grid-cols-2 gap-4">
    {#each stats as s, i (s.id)}
      {#if (i < 2)}
        <Stack gap="0" class="rounded bg-card inset-ring inset-ring-border p-4" data-slot="feature-stat">
          <Text size="2xl" weight="bold">
            {s.value}
          </Text>
          <Text size="xs" class="text-muted-foreground">
            {s.label}
          </Text>
        </Stack>
      {/if}
    {/each}
  </Box>
  <Stack gap="4" align="stretch">
    {#each features as f, i (f.id)}
      {#if (i < 3)}
        <Group gap="4" align="start" data-slot="feature-item">
          <Inline class="flex size-6 shrink-0 items-center justify-center rounded bg-primary text-primary-foreground">
            <LucideIcon name="check" size={16} />
          </Inline>
          <Stack gap="2" class="min-w-0">
            <Title as={3} size="sm" weight="semibold">
              {f.title}
            </Title>
            <Text size="sm" class="text-muted-foreground">
              {f.text}
            </Text>
          </Stack>
        </Group>
      {/if}
    {/each}
  </Stack>
</Stack>

Svelte registry item (JSON)

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-cdn
npx ui8kit add feature-stat-rows
components/feature-stat-rows.tsx
// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.
/** Two figures of FeatureSplit as cards, then three features as checked rows. */
import { Fragment, type ReactNode } from "react";
import { Box, Group, Inline, Stack, Text, Title } from "../compose";
import { LucideIcon } from "../icons/LucideIcon";
import type { Feature } from "../blocks/feature-grid.types";
import type { Stat } from "../blocks/stats-band.types";

export type FeatureStatRowsProps = {
  features: Feature[];
  stats: Stat[];
};

export function FeatureStatRows({ features, stats }: FeatureStatRowsProps) {
  return (
    <Stack gap="6" align="stretch" data-slot="feature-stat-rows">
      <Box className="grid grid-cols-2 gap-4">
        {(stats ?? []).map((s, i) => (
          <Fragment key={s.id}>
            {(i < 2) ? (
              <Stack gap="0" className="rounded bg-card inset-ring inset-ring-border p-4" data-slot="feature-stat">
                <Text size="2xl" weight="bold">
                  {s.value}
                </Text>
                <Text size="xs" className="text-muted-foreground">
                  {s.label}
                </Text>
              </Stack>
            ) : null}
          </Fragment>
        ))}
      </Box>
      <Stack gap="4" align="stretch">
        {(features ?? []).map((f, i) => (
          <Fragment key={f.id}>
            {(i < 3) ? (
              <Group gap="4" align="start" data-slot="feature-item">
                <Inline className={"flex size-6 shrink-0 items-center justify-center rounded bg-primary text-primary-foreground"}>
                  <LucideIcon name="check" size={16} />
                </Inline>
                <Stack gap="2" className="min-w-0">
                  <Title as={3} size="sm" weight="semibold">
                    {f.title}
                  </Title>
                  <Text size="sm" className="text-muted-foreground">
                    {f.text}
                  </Text>
                </Stack>
              </Group>
            ) : null}
          </Fragment>
        ))}
      </Stack>
    </Stack>
  );
}

React registry item (JSON)

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-cdn
npx ui8kit add feature-stat-rows
components/feature-stat-rows.vue
<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->
<!-- Two figures of FeatureSplit as cards, then three features as checked rows. -->
<script lang="ts">
import type { Feature } from "../blocks/feature-grid.types";
import type { Stat } from "../blocks/stats-band.types";

export type FeatureStatRowsProps = {
  features: Feature[];
  stats: Stat[];
};
</script>

<script setup lang="ts">
import Box from "../compose/Box.vue";
import Group from "../compose/Group.vue";
import Inline from "../compose/Inline.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";

const { features, stats } = defineProps<FeatureStatRowsProps>();
</script>

<template>
  <Stack gap="6" align="stretch" data-slot="feature-stat-rows">
    <Box class="grid grid-cols-2 gap-4">
      <template v-for="(s, i) in stats" :key="s.id">
        <Stack
          v-if="(i < 2)"
          gap="0"
          class="rounded bg-card inset-ring inset-ring-border p-4"
          data-slot="feature-stat"
        >
          <Text size="2xl" weight="bold">
            {{ s.value }}
          </Text>
          <Text size="xs" class="text-muted-foreground">
            {{ s.label }}
          </Text>
        </Stack>
      </template>
    </Box>
    <Stack gap="4" align="stretch">
      <template v-for="(f, i) in features" :key="f.id">
        <Group v-if="(i < 3)" gap="4" align="start" data-slot="feature-item">
          <Inline class="flex size-6 shrink-0 items-center justify-center rounded bg-primary text-primary-foreground">
            <LucideIcon name="check" :size="16" />
          </Inline>
          <Stack gap="2" class="min-w-0">
            <Title :as="3" size="sm" weight="semibold">
              {{ f.title }}
            </Title>
            <Text size="sm" class="text-muted-foreground">
              {{ f.text }}
            </Text>
          </Stack>
        </Group>
      </template>
    </Stack>
  </Stack>
</template>

Vue registry item (JSON)

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-cdn
npx ui8kit add feature-stat-rows
components/feature-stat-rows.tsx
// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.
/** Two figures of FeatureSplit as cards, then three features as checked rows. */
import { For, type JSX } from "solid-js";
import { Box, Group, Inline, Stack, Text, Title } from "../compose";
import { LucideIcon } from "../icons/LucideIcon";
import type { Feature } from "../blocks/feature-grid.types";
import type { Stat } from "../blocks/stats-band.types";

export type FeatureStatRowsProps = {
  features: Feature[];
  stats: Stat[];
};

export function FeatureStatRows({ features, stats }: FeatureStatRowsProps) {
  return (
    <Stack gap="6" align="stretch" data-slot="feature-stat-rows">
      <Box class="grid grid-cols-2 gap-4">
        <For each={stats ?? []}>{(s, iOf) => { const i = iOf(); return (
          <>
            {(i < 2) ? (
              <Stack gap="0" class="rounded bg-card inset-ring inset-ring-border p-4" data-slot="feature-stat">
                <Text size="2xl" weight="bold">
                  {s.value}
                </Text>
                <Text size="xs" class="text-muted-foreground">
                  {s.label}
                </Text>
              </Stack>
            ) : null}
          </>
        ); }}</For>
      </Box>
      <Stack gap="4" align="stretch">
        <For each={features ?? []}>{(f, iOf) => { const i = iOf(); return (
          <>
            {(i < 3) ? (
              <Group gap="4" align="start" data-slot="feature-item">
                <Inline class="flex size-6 shrink-0 items-center justify-center rounded bg-primary text-primary-foreground">
                  <LucideIcon name="check" size={16} />
                </Inline>
                <Stack gap="2" class="min-w-0">
                  <Title as={3} size="sm" weight="semibold">
                    {f.title}
                  </Title>
                  <Text size="sm" class="text-muted-foreground">
                    {f.text}
                  </Text>
                </Stack>
              </Group>
            ) : null}
          </>
        ); }}</For>
      </Stack>
    </Stack>
  );
}

Solid registry item (JSON)

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-cdn
npx ui8kit add feature-stat-rows
blocks/feature-stat-rows.templ
// 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/feature-stat-rows.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"
)

// FeatureStatRowsProps are the props of FeatureStatRows; the values are the JSON shapes of the TypeScript props.
type FeatureStatRowsProps struct {
	Features any `json:"features"`
	Stats any `json:"stats"`
}

// Two figures of FeatureSplit as cards, then three features as checked rows.
templ FeatureStatRows(p FeatureStatRowsProps) {
	{{ vFeatures := p.Features }}
	{{ vStats := p.Stats }}
	@compose.Stack(compose.StackProps{Gap: "6", Align: "stretch", BoxProps: box.BoxProps{Attrs: uiutils.Attrs("data-slot", "feature-stat-rows")}}) {
		@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: "grid grid-cols-2 gap-4"}}) {
			for vI, vS := range uiutils.L(vStats) {
				if uiutils.Lt(float64(vI), float64(2)) {
					@compose.Stack(compose.StackProps{Gap: "0", BoxProps: box.BoxProps{Class: "rounded bg-card inset-ring inset-ring-border p-4", Attrs: uiutils.Attrs("data-slot", "feature-stat")}}) {
						@compose.Text(compose.TextProps{Size: "2xl", Weight: "bold", TextProps: text.TextProps{}}) {
							{ uiutils.Text(uiutils.Get(vS, "value")) }
						}
						@compose.Text(compose.TextProps{Size: "xs", TextProps: text.TextProps{Class: "text-muted-foreground"}}) {
							{ uiutils.Text(uiutils.Get(vS, "label")) }
						}
					}
				}
			}
		}
		@compose.Stack(compose.StackProps{Gap: "4", Align: "stretch", BoxProps: box.BoxProps{}}) {
			for vI, vF := range uiutils.L(vFeatures) {
				if uiutils.Lt(float64(vI), float64(3)) {
					@compose.Group(compose.GroupProps{Gap: "4", Align: "start", BoxProps: box.BoxProps{Attrs: uiutils.Attrs("data-slot", "feature-item")}}) {
						@compose.Inline(compose.InlineProps{TextProps: text.TextProps{Class: "flex size-6 shrink-0 items-center justify-center rounded bg-primary text-primary-foreground"}}) {
							@icons.LucideIcon(icons.LucideIconProps{Name: "check", Size: 16})
						}
						@compose.Stack(compose.StackProps{Gap: "2", BoxProps: box.BoxProps{Class: "min-w-0"}}) {
							@compose.Title(compose.TitleProps{As: "3", Size: "sm", Weight: "semibold", TextProps: text.TextProps{}}) {
								{ uiutils.Text(uiutils.Get(vF, "title")) }
							}
							@compose.Text(compose.TextProps{Size: "sm", TextProps: text.TextProps{Class: "text-muted-foreground"}}) {
								{ uiutils.Text(uiutils.Get(vF, "text")) }
							}
						}
					}
				}
			}
		}
	}
}

templ registry item (JSON)

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-cdn
npx ui8kit add feature-stat-rows
blocks/feature-stat-rows.html.twig
{#- 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/feature-stat-rows.json
    Two figures of FeatureSplit as cards, then three features as checked rows.
    Props (p): features, stats. -#}
{%- set v_features = (p.features ?? null) -%}
{%- set v_stats = (p.stats ?? null) -%}
{%- set c_11 -%}
  {%- set c_4 -%}
    {%- for v_s in og_l(v_stats) %}
      {%- set v_i = loop.index0 -%}
      {%- if og_t(og_lt(v_i, 2)) %}
        {%- set c_3 -%}
          {%- set c_1 -%}
            {{ og_text(og_get(v_s, ['value'])) }}
          {%- endset -%}
          {{ include('compose/Text.html.twig', {'size': '2xl', 'weight': 'bold', 'children': c_1}, with_context = false) }}
          {%- set c_2 -%}
            {{ og_text(og_get(v_s, ['label'])) }}
          {%- endset -%}
          {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_2}, with_context = false) }}
        {%- endset -%}
        {{ include('compose/Stack.html.twig', {'gap': '0', 'class': 'rounded bg-card inset-ring inset-ring-border p-4', 'attrs': og_attrs(['data-slot', 'feature-stat']), 'children': c_3}, with_context = false) }}
      {%- endif %}
    {%- endfor %}
  {%- endset -%}
  {{ include('compose/Box.html.twig', {'class': 'grid grid-cols-2 gap-4', 'children': c_4}, with_context = false) }}
  {%- set c_10 -%}
    {%- for v_f in og_l(v_features) %}
      {%- set v_i = loop.index0 -%}
      {%- if og_t(og_lt(v_i, 3)) %}
        {%- set c_9 -%}
          {%- set c_5 -%}
            {{ include('icons/LucideIcon.html.twig', {'name': 'check', 'size': 16}, with_context = false) }}
          {%- endset -%}
          {{ include('compose/Inline.html.twig', {'class': 'flex size-6 shrink-0 items-center justify-center rounded bg-primary text-primary-foreground', 'children': c_5}, with_context = false) }}
          {%- set c_8 -%}
            {%- set c_6 -%}
              {{ og_text(og_get(v_f, ['title'])) }}
            {%- endset -%}
            {{ include('compose/Title.html.twig', {'as': 3, 'size': 'sm', 'weight': 'semibold', 'children': c_6}, with_context = false) }}
            {%- set c_7 -%}
              {{ og_text(og_get(v_f, ['text'])) }}
            {%- endset -%}
            {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_7}, with_context = false) }}
          {%- endset -%}
          {{ include('compose/Stack.html.twig', {'gap': '2', 'class': 'min-w-0', 'children': c_8}, with_context = false) }}
        {%- endset -%}
        {{ include('compose/Group.html.twig', {'gap': '4', 'align': 'start', 'attrs': og_attrs(['data-slot', 'feature-item']), 'children': c_9}, with_context = false) }}
      {%- endif %}
    {%- endfor %}
  {%- endset -%}
  {{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'stretch', 'children': c_10}, with_context = false) }}
{%- endset -%}
{{ include('compose/Stack.html.twig', {'gap': '6', 'align': 'stretch', 'attrs': og_attrs(['data-slot', 'feature-stat-rows']), 'children': c_11}, with_context = false) }}

Twig registry item (JSON)

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-cdn
npx ui8kit add feature-stat-rows
blocks/feature-stat-rows.latte
{* 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/feature-stat-rows.json
    Two figures of FeatureSplit as cards, then three features as checked rows.
    Props (p): features, stats. *}
{var $v_features = ($p['features'] ?? null)}
{var $v_stats = ($p['stats'] ?? null)}
{capture $c_11}
  {capture $c_4}
    {foreach og_l($v_stats) as $v_s}
      {var $v_i = $iterator->counter0}
      {if og_t(og_lt($v_i, 2))}
        {capture $c_3}
          {capture $c_1}
            {=og_text(og_get($v_s, ['value']))}
          {/capture}
          {=og_include('compose/Text.latte', ['size' => '2xl', 'weight' => 'bold', 'children' => (string) $c_1])|noescape}
          {capture $c_2}
            {=og_text(og_get($v_s, ['label']))}
          {/capture}
          {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_2])|noescape}
        {/capture}
        {=og_include('compose/Stack.latte', ['gap' => '0', 'class' => 'rounded bg-card inset-ring inset-ring-border p-4', 'attrs' => og_attrs(['data-slot', 'feature-stat']), 'children' => (string) $c_3])|noescape}
      {/if}
    {/foreach}
  {/capture}
  {=og_include('compose/Box.latte', ['class' => 'grid grid-cols-2 gap-4', 'children' => (string) $c_4])|noescape}
  {capture $c_10}
    {foreach og_l($v_features) as $v_f}
      {var $v_i = $iterator->counter0}
      {if og_t(og_lt($v_i, 3))}
        {capture $c_9}
          {capture $c_5}
            {=og_include('icons/LucideIcon.latte', ['name' => 'check', 'size' => 16])|noescape}
          {/capture}
          {=og_include('compose/Inline.latte', ['class' => 'flex size-6 shrink-0 items-center justify-center rounded bg-primary text-primary-foreground', 'children' => (string) $c_5])|noescape}
          {capture $c_8}
            {capture $c_6}
              {=og_text(og_get($v_f, ['title']))}
            {/capture}
            {=og_include('compose/Title.latte', ['as' => 3, 'size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_6])|noescape}
            {capture $c_7}
              {=og_text(og_get($v_f, ['text']))}
            {/capture}
            {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_7])|noescape}
          {/capture}
          {=og_include('compose/Stack.latte', ['gap' => '2', 'class' => 'min-w-0', 'children' => (string) $c_8])|noescape}
        {/capture}
        {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'start', 'attrs' => og_attrs(['data-slot', 'feature-item']), 'children' => (string) $c_9])|noescape}
      {/if}
    {/foreach}
  {/capture}
  {=og_include('compose/Stack.latte', ['gap' => '4', 'align' => 'stretch', 'children' => (string) $c_10])|noescape}
{/capture}
{=og_include('compose/Stack.latte', ['gap' => '6', 'align' => 'stretch', 'attrs' => og_attrs(['data-slot', 'feature-stat-rows']), 'children' => (string) $c_11])|noescape}

Latte registry item (JSON)

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-cdn
npx ui8kit add feature-stat-rows
blocks/feature-stat-rows.html.j2
{#- 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/feature-stat-rows.json
    Two figures of FeatureSplit as cards, then three features as checked rows.
    Props (p): features, stats. -#}
{%- set v_features = og_def(p['features'], none) -%}
{%- set v_stats = og_def(p['stats'], none) -%}
{%- set c_11 -%}
  {%- set c_4 -%}
    {%- for v_s in og_l(v_stats) %}
      {%- set v_i = loop.index0 -%}
      {%- if og_t(og_lt(v_i, 2)) %}
        {%- set c_3 -%}
          {%- set c_1 -%}
            {{ og_text(og_get(v_s, ['value'])) }}
          {%- endset -%}
          {{ og_include('compose/text.html.j2', {'p': {'Size': '2xl', 'Weight': 'bold'}, 'children': c_1}) }}
          {%- set c_2 -%}
            {{ og_text(og_get(v_s, ['label'])) }}
          {%- endset -%}
          {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_2}) }}
        {%- endset -%}
        {{ og_include('compose/stack.html.j2', {'p': {'Gap': '0', 'Class': 'rounded bg-card inset-ring inset-ring-border p-4', 'Attrs': og_attrs(['data-slot', 'feature-stat'])}, 'children': c_3}) }}
      {%- endif %}
    {%- endfor %}
  {%- endset -%}
  {{ og_include('compose/box.html.j2', {'p': {'Class': 'grid grid-cols-2 gap-4'}, 'children': c_4}) }}
  {%- set c_10 -%}
    {%- for v_f in og_l(v_features) %}
      {%- set v_i = loop.index0 -%}
      {%- if og_t(og_lt(v_i, 3)) %}
        {%- set c_9 -%}
          {%- set c_5 -%}
            {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'check', 'Size': 16}}) }}
          {%- endset -%}
          {{ og_include('compose/inline.html.j2', {'p': {'Class': 'flex size-6 shrink-0 items-center justify-center rounded bg-primary text-primary-foreground'}, 'children': c_5}) }}
          {%- set c_8 -%}
            {%- set c_6 -%}
              {{ og_text(og_get(v_f, ['title'])) }}
            {%- endset -%}
            {{ og_include('compose/title.html.j2', {'p': {'As': 3, 'Size': 'sm', 'Weight': 'semibold'}, 'children': c_6}) }}
            {%- set c_7 -%}
              {{ og_text(og_get(v_f, ['text'])) }}
            {%- endset -%}
            {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_7}) }}
          {%- endset -%}
          {{ og_include('compose/stack.html.j2', {'p': {'Gap': '2', 'Class': 'min-w-0'}, 'children': c_8}) }}
        {%- endset -%}
        {{ og_include('compose/group.html.j2', {'p': {'Gap': '4', 'Align': 'start', 'Attrs': og_attrs(['data-slot', 'feature-item'])}, 'children': c_9}) }}
      {%- endif %}
    {%- endfor %}
  {%- endset -%}
  {{ og_include('compose/stack.html.j2', {'p': {'Gap': '4', 'Align': 'stretch'}, 'children': c_10}) }}
{%- endset -%}
{{ og_include('compose/stack.html.j2', {'p': {'Gap': '6', 'Align': 'stretch', 'Attrs': og_attrs(['data-slot', 'feature-stat-rows'])}, 'children': c_11}) }}

Jinja2 registry item (JSON)

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.

Two figures of FeatureSplit as cards, then three features as checked rows.

Props of FeatureStatRows
PropTypeDefault Description
features (required)Feature[]-
stats (required)Stat[]-

Used in