Skip to content
ui8kit

component / components

Faq Help

Faq Help component

Install

npx ui8kit add faq-help

Pulls in: block, box, button, compose, faq-split, feature-grid, kit-box, kit-button, kit-text, list, list-item, lucide-icon, stack, text, utils

Preview

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 faq-help
components/faq-help.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. -->
<!--
  The help card beside the questions of FaqSplit: a title, a line of text, the ways to reach the team (icon,
  name, one line) and a link.
-->
<script lang="ts" module>
  import type { Snippet } from "svelte";
  import type { Question, FaqSplitLabels } from "../blocks/faq-split.types";
  import type { Feature } from "../blocks/feature-grid.types";

  export type FaqHelpProps = {
    labels: FaqSplitLabels;
    channels: Feature[];
    landmarkLabel?: string;
  };
</script>

<script lang="ts">
  import Block from "../compose/Block.svelte";
  import Box from "../compose/Box.svelte";
  import Button from "../compose/Button.svelte";
  import List from "../compose/List.svelte";
  import ListItem from "../compose/ListItem.svelte";
  import LucideIcon from "../icons/LucideIcon.svelte";
  import Stack from "../compose/Stack.svelte";
  import Text from "../compose/Text.svelte";

  let { labels, channels, landmarkLabel }: FaqHelpProps = $props();
</script>

<Block
  tag="aside"
  class="rounded bg-card inset-ring inset-ring-border flex flex-col gap-6 p-6"
  aria-label={(landmarkLabel ?? labels.asideTitle)}
  data-slot="faq-help"
>
  <Stack gap="2">
    <Text size="lg" weight="semibold">
      {labels.asideTitle}
    </Text>
    <Text size="sm" class="text-muted-foreground">
      {labels.asideText}
    </Text>
  </Stack>
  <List class="m-0 flex list-none flex-col gap-4 p-0">
    {#each channels as c (c.id)}
      <ListItem class="flex items-start gap-4" data-slot="faq-channel">
        <Box class="flex size-10 shrink-0 items-center justify-center rounded bg-muted">
          <LucideIcon name={c.icon} size={20} />
        </Box>
        <Stack gap="0">
          <Text size="sm" weight="semibold">
            {c.title}
          </Text>
          <Text size="xs" class="text-muted-foreground">
            {c.text}
          </Text>
        </Stack>
      </ListItem>
    {/each}
  </List>
  <Button variant="link" size="sm" class="gap-2 px-0 font-medium">
    {labels.asideCta}
    <LucideIcon name="arrow-right" size={16} />
  </Button>
</Block>

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 faq-help
components/faq-help.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.
/**
 * The help card beside the questions of FaqSplit: a title, a line of text, the ways to reach the team (icon,
 * name, one line) and a link.
 */
import { type ReactNode } from "react";
import { Block, Box, Button, List, ListItem, Stack, Text } from "../compose";
import { LucideIcon } from "../icons/LucideIcon";
import type { Question, FaqSplitLabels } from "../blocks/faq-split.types";
import type { Feature } from "../blocks/feature-grid.types";

export type FaqHelpProps = {
  labels: FaqSplitLabels;
  channels: Feature[];
  landmarkLabel?: string;
};

export function FaqHelp({ labels, channels, landmarkLabel }: FaqHelpProps) {
  return (
    <Block
      tag="aside"
      className="rounded bg-card inset-ring inset-ring-border flex flex-col gap-6 p-6"
      aria-label={(landmarkLabel ?? labels.asideTitle)}
      data-slot="faq-help"
    >
      <Stack gap="2">
        <Text size="lg" weight="semibold">
          {labels.asideTitle}
        </Text>
        <Text size="sm" className="text-muted-foreground">
          {labels.asideText}
        </Text>
      </Stack>
      <List className="m-0 flex list-none flex-col gap-4 p-0">
        {(channels ?? []).map((c) => (
          <ListItem key={c.id} className="flex items-start gap-4" data-slot="faq-channel">
            <Box className="flex size-10 shrink-0 items-center justify-center rounded bg-muted">
              <LucideIcon name={c.icon} size={20} />
            </Box>
            <Stack gap="0">
              <Text size="sm" weight="semibold">
                {c.title}
              </Text>
              <Text size="xs" className="text-muted-foreground">
                {c.text}
              </Text>
            </Stack>
          </ListItem>
        ))}
      </List>
      <Button variant="link" size="sm" className="gap-2 px-0 font-medium">
        {labels.asideCta}
        <LucideIcon name="arrow-right" size={16} />
      </Button>
    </Block>
  );
}

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 faq-help
components/faq-help.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. -->
<!--
  The help card beside the questions of FaqSplit: a title, a line of text, the ways to reach the team (icon,
  name, one line) and a link.
-->
<script lang="ts">
import type { Question, FaqSplitLabels } from "../blocks/faq-split.types";
import type { Feature } from "../blocks/feature-grid.types";

export type FaqHelpProps = {
  labels: FaqSplitLabels;
  channels: Feature[];
  landmarkLabel?: string;
};
</script>

<script setup lang="ts">
import Block from "../compose/Block.vue";
import Box from "../compose/Box.vue";
import Button from "../compose/Button.vue";
import List from "../compose/List.vue";
import ListItem from "../compose/ListItem.vue";
import LucideIcon from "../icons/LucideIcon.vue";
import Stack from "../compose/Stack.vue";
import Text from "../compose/Text.vue";

const { labels, channels, landmarkLabel } = defineProps<FaqHelpProps>();
</script>

<template>
  <Block
    tag="aside"
    class="rounded bg-card inset-ring inset-ring-border flex flex-col gap-6 p-6"
    :aria-label="(landmarkLabel ?? labels.asideTitle)"
    data-slot="faq-help"
  >
    <Stack gap="2">
      <Text size="lg" weight="semibold">
        {{ labels.asideTitle }}
      </Text>
      <Text size="sm" class="text-muted-foreground">
        {{ labels.asideText }}
      </Text>
    </Stack>
    <List class="m-0 flex list-none flex-col gap-4 p-0">
      <ListItem v-for="c in channels" :key="c.id" class="flex items-start gap-4" data-slot="faq-channel">
        <Box class="flex size-10 shrink-0 items-center justify-center rounded bg-muted">
          <LucideIcon :name="c.icon" :size="20" />
        </Box>
        <Stack gap="0">
          <Text size="sm" weight="semibold">
            {{ c.title }}
          </Text>
          <Text size="xs" class="text-muted-foreground">
            {{ c.text }}
          </Text>
        </Stack>
      </ListItem>
    </List>
    <Button variant="link" size="sm" class="gap-2 px-0 font-medium">
      {{ labels.asideCta }}
      <LucideIcon name="arrow-right" :size="16" />
    </Button>
  </Block>
</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 faq-help
components/faq-help.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.
/**
 * The help card beside the questions of FaqSplit: a title, a line of text, the ways to reach the team (icon,
 * name, one line) and a link.
 */
import { For, type JSX } from "solid-js";
import { Block, Box, Button, List, ListItem, Stack, Text } from "../compose";
import { LucideIcon } from "../icons/LucideIcon";
import type { Question, FaqSplitLabels } from "../blocks/faq-split.types";
import type { Feature } from "../blocks/feature-grid.types";

export type FaqHelpProps = {
  labels: FaqSplitLabels;
  channels: Feature[];
  landmarkLabel?: string;
};

export function FaqHelp({ labels, channels, landmarkLabel }: FaqHelpProps) {
  return (
    <Block
      tag="aside"
      class="rounded bg-card inset-ring inset-ring-border flex flex-col gap-6 p-6"
      aria-label={(landmarkLabel ?? labels.asideTitle)}
      data-slot="faq-help"
    >
      <Stack gap="2">
        <Text size="lg" weight="semibold">
          {labels.asideTitle}
        </Text>
        <Text size="sm" class="text-muted-foreground">
          {labels.asideText}
        </Text>
      </Stack>
      <List class="m-0 flex list-none flex-col gap-4 p-0">
        <For each={channels ?? []}>{(c) => (
          <ListItem class="flex items-start gap-4" data-slot="faq-channel">
            <Box class="flex size-10 shrink-0 items-center justify-center rounded bg-muted">
              <LucideIcon name={c.icon} size={20} />
            </Box>
            <Stack gap="0">
              <Text size="sm" weight="semibold">
                {c.title}
              </Text>
              <Text size="xs" class="text-muted-foreground">
                {c.text}
              </Text>
            </Stack>
          </ListItem>
        )}</For>
      </List>
      <Button variant="link" size="sm" class="gap-2 px-0 font-medium">
        {labels.asideCta}
        <LucideIcon name="arrow-right" size={16} />
      </Button>
    </Block>
  );
}

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 faq-help
blocks/faq-help.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/faq-help.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"
)

// FaqHelpProps are the props of FaqHelp; the values are the JSON shapes of the TypeScript props.
type FaqHelpProps struct {
	Labels any `json:"labels"`
	Channels any `json:"channels"`
	LandmarkLabel any `json:"landmarkLabel"`
}

// The help card beside the questions of FaqSplit: a title, a line of text, the ways to reach the team (icon, name, one line) and a link.
templ FaqHelp(p FaqHelpProps) {
	{{ vLabels := p.Labels }}
	{{ vChannels := p.Channels }}
	{{ vLandmarkLabel := p.LandmarkLabel }}
	@compose.Block(compose.BlockProps{BoxProps: box.BoxProps{Tag: "aside", Class: "rounded bg-card inset-ring inset-ring-border flex flex-col gap-6 p-6", Attrs: uiutils.Attrs("aria-label", uiutils.Coalesce(vLandmarkLabel, uiutils.Get(vLabels, "asideTitle")), "data-slot", "faq-help")}}) {
		@compose.Stack(compose.StackProps{Gap: "2", BoxProps: box.BoxProps{}}) {
			@compose.Text(compose.TextProps{Size: "lg", Weight: "semibold", TextProps: text.TextProps{}}) {
				{ uiutils.Text(uiutils.Get(vLabels, "asideTitle")) }
			}
			@compose.Text(compose.TextProps{Size: "sm", TextProps: text.TextProps{Class: "text-muted-foreground"}}) {
				{ uiutils.Text(uiutils.Get(vLabels, "asideText")) }
			}
		}
		@compose.List(compose.ListProps{BoxProps: box.BoxProps{Class: "m-0 flex list-none flex-col gap-4 p-0"}}) {
			for _, vC := range uiutils.L(vChannels) {
				@compose.ListItem(compose.ListItemProps{BoxProps: box.BoxProps{Class: "flex items-start gap-4", Attrs: uiutils.Attrs("data-slot", "faq-channel")}}) {
					@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(vC, "icon")), Size: 20})
					}
					@compose.Stack(compose.StackProps{Gap: "0", BoxProps: box.BoxProps{}}) {
						@compose.Text(compose.TextProps{Size: "sm", Weight: "semibold", TextProps: text.TextProps{}}) {
							{ uiutils.Text(uiutils.Get(vC, "title")) }
						}
						@compose.Text(compose.TextProps{Size: "xs", TextProps: text.TextProps{Class: "text-muted-foreground"}}) {
							{ uiutils.Text(uiutils.Get(vC, "text")) }
						}
					}
				}
			}
		}
		@compose.Button(compose.ButtonProps{Variant: "link", Size: "sm", ButtonProps: button.ButtonProps{Class: "gap-2 px-0 font-medium"}}) {
			{ uiutils.Text(uiutils.Get(vLabels, "asideCta")) }
			@icons.LucideIcon(icons.LucideIconProps{Name: "arrow-right", Size: 16})
		}
	}
}

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 faq-help
blocks/faq-help.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/faq-help.json
    The help card beside the questions of FaqSplit: a title, a line of text, the ways to reach the team (icon, name, one line) and a link.
    Props (p): labels, channels, landmarkLabel. -#}
{%- set v_labels = (p.labels ?? null) -%}
{%- set v_channels = (p.channels ?? null) -%}
{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}
{%- set c_11 -%}
  {%- set c_3 -%}
    {%- set c_1 -%}
      {{ og_text(og_get(v_labels, ['asideTitle'])) }}
    {%- endset -%}
    {{ include('compose/Text.html.twig', {'size': 'lg', 'weight': 'semibold', 'children': c_1}, with_context = false) }}
    {%- set c_2 -%}
      {{ og_text(og_get(v_labels, ['asideText'])) }}
    {%- endset -%}
    {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_2}, with_context = false) }}
  {%- endset -%}
  {{ include('compose/Stack.html.twig', {'gap': '2', 'children': c_3}, with_context = false) }}
  {%- set c_9 -%}
    {%- for v_c in og_l(v_channels) %}
      {%- set c_8 -%}
        {%- set c_4 -%}
          {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_c, ['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_4}, with_context = false) }}
        {%- set c_7 -%}
          {%- set c_5 -%}
            {{ og_text(og_get(v_c, ['title'])) }}
          {%- endset -%}
          {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_5}, with_context = false) }}
          {%- set c_6 -%}
            {{ og_text(og_get(v_c, ['text'])) }}
          {%- endset -%}
          {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_6}, with_context = false) }}
        {%- endset -%}
        {{ include('compose/Stack.html.twig', {'gap': '0', 'children': c_7}, with_context = false) }}
      {%- endset -%}
      {{ include('compose/ListItem.html.twig', {'class': 'flex items-start gap-4', 'attrs': og_attrs(['data-slot', 'faq-channel']), 'children': c_8}, with_context = false) }}
    {%- endfor %}
  {%- endset -%}
  {{ include('compose/List.html.twig', {'class': 'm-0 flex list-none flex-col gap-4 p-0', 'children': c_9}, with_context = false) }}
  {%- set c_10 -%}
    {{ og_text(og_get(v_labels, ['asideCta'])) }}
    {{ 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_10}, with_context = false) }}
{%- endset -%}
{{ include('compose/Block.html.twig', {'tag': 'aside', 'class': 'rounded bg-card inset-ring inset-ring-border flex flex-col gap-6 p-6', 'attrs': og_attrs(['aria-label', og_coalesce([v_landmarkLabel, og_get(v_labels, ['asideTitle'])]), 'data-slot', 'faq-help']), '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 faq-help
blocks/faq-help.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/faq-help.json
    The help card beside the questions of FaqSplit: a title, a line of text, the ways to reach the team (icon, name, one line) and a link.
    Props (p): labels, channels, landmarkLabel. *}
{var $v_labels = ($p['labels'] ?? null)}
{var $v_channels = ($p['channels'] ?? null)}
{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}
{capture $c_11}
  {capture $c_3}
    {capture $c_1}
      {=og_text(og_get($v_labels, ['asideTitle']))}
    {/capture}
    {=og_include('compose/Text.latte', ['size' => 'lg', 'weight' => 'semibold', 'children' => (string) $c_1])|noescape}
    {capture $c_2}
      {=og_text(og_get($v_labels, ['asideText']))}
    {/capture}
    {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_2])|noescape}
  {/capture}
  {=og_include('compose/Stack.latte', ['gap' => '2', 'children' => (string) $c_3])|noescape}
  {capture $c_9}
    {foreach og_l($v_channels) as $v_c}
      {capture $c_8}
        {capture $c_4}
          {=og_include('icons/LucideIcon.latte', ['name' => og_s(og_get($v_c, ['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_4])|noescape}
        {capture $c_7}
          {capture $c_5}
            {=og_text(og_get($v_c, ['title']))}
          {/capture}
          {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_5])|noescape}
          {capture $c_6}
            {=og_text(og_get($v_c, ['text']))}
          {/capture}
          {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_6])|noescape}
        {/capture}
        {=og_include('compose/Stack.latte', ['gap' => '0', 'children' => (string) $c_7])|noescape}
      {/capture}
      {=og_include('compose/ListItem.latte', ['class' => 'flex items-start gap-4', 'attrs' => og_attrs(['data-slot', 'faq-channel']), 'children' => (string) $c_8])|noescape}
    {/foreach}
  {/capture}
  {=og_include('compose/List.latte', ['class' => 'm-0 flex list-none flex-col gap-4 p-0', 'children' => (string) $c_9])|noescape}
  {capture $c_10}
    {=og_text(og_get($v_labels, ['asideCta']))}
    {=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_10])|noescape}
{/capture}
{=og_include('compose/Block.latte', ['tag' => 'aside', 'class' => 'rounded bg-card inset-ring inset-ring-border flex flex-col gap-6 p-6', 'attrs' => og_attrs(['aria-label', og_coalesce([$v_landmarkLabel, og_get($v_labels, ['asideTitle'])]), 'data-slot', 'faq-help']), '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 faq-help
blocks/faq-help.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/faq-help.json
    The help card beside the questions of FaqSplit: a title, a line of text, the ways to reach the team (icon, name, one line) and a link.
    Props (p): labels, channels, landmarkLabel. -#}
{%- set v_labels = og_def(p['labels'], none) -%}
{%- set v_channels = og_def(p['channels'], none) -%}
{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}
{%- set c_11 -%}
  {%- set c_3 -%}
    {%- set c_1 -%}
      {{ og_text(og_get(v_labels, ['asideTitle'])) }}
    {%- endset -%}
    {{ og_include('compose/text.html.j2', {'p': {'Size': 'lg', 'Weight': 'semibold'}, 'children': c_1}) }}
    {%- set c_2 -%}
      {{ og_text(og_get(v_labels, ['asideText'])) }}
    {%- endset -%}
    {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_2}) }}
  {%- endset -%}
  {{ og_include('compose/stack.html.j2', {'p': {'Gap': '2'}, 'children': c_3}) }}
  {%- set c_9 -%}
    {%- for v_c in og_l(v_channels) %}
      {%- set c_8 -%}
        {%- set c_4 -%}
          {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': og_s(og_get(v_c, ['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_4}) }}
        {%- set c_7 -%}
          {%- set c_5 -%}
            {{ og_text(og_get(v_c, ['title'])) }}
          {%- endset -%}
          {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Weight': 'semibold'}, 'children': c_5}) }}
          {%- set c_6 -%}
            {{ og_text(og_get(v_c, ['text'])) }}
          {%- endset -%}
          {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_6}) }}
        {%- endset -%}
        {{ og_include('compose/stack.html.j2', {'p': {'Gap': '0'}, 'children': c_7}) }}
      {%- endset -%}
      {{ og_include('compose/list-item.html.j2', {'p': {'Class': 'flex items-start gap-4', 'Attrs': og_attrs(['data-slot', 'faq-channel'])}, 'children': c_8}) }}
    {%- endfor %}
  {%- endset -%}
  {{ og_include('compose/list.html.j2', {'p': {'Class': 'm-0 flex list-none flex-col gap-4 p-0'}, 'children': c_9}) }}
  {%- set c_10 -%}
    {{ og_text(og_get(v_labels, ['asideCta'])) }}
    {{ 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_10}) }}
{%- endset -%}
{{ og_include('compose/block.html.j2', {'p': {'Tag': 'aside', 'Class': 'rounded bg-card inset-ring inset-ring-border flex flex-col gap-6 p-6', 'Attrs': og_attrs(['aria-label', og_coalesce([v_landmarkLabel, og_get(v_labels, ['asideTitle'])]), 'data-slot', 'faq-help'])}, '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.

The help card beside the questions of FaqSplit: a title, a line of text, the ways to reach the team (icon, name, one line) and a link.

Props of FaqHelp
PropTypeDefault Description
labels (required)FaqSplitLabels-
channels (required)Feature[]-
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

Used in