Skip to content
Klarhimmel UI

Integrations, filterable grid

Integrations, filterable grid previewIntegrations, filterable grid preview

Install

npx shadcn add https://ui.klarhimmel.com/r/integrations-grid.json
DetailsAbout, usage, props and more

). The chips are native radios the block stylesheet reads, so the filter works with no script; the count follows the filter. Leave a link label empty to drop that link.

Import

Import

import Block from '@/components/klarhimmel/blocks/integrations-grid';
Also called
  • integrations/grid
About
A grid of integrations, each with a logo, name, one line and a link, and filter chips built from the groups (All, Payments, Calendars, ...).
Category
What it connects to: a filterable grid of tools, or one featured integration. New project? Set it up once: /get-started/installation.

Notes

When to use it

A catalogue of the tools your product connects to, for a page where visitors check whether their own tool is on the list. When one integration matters far more than the rest, integrations-featured tells that story better.

Writing for it

- Each tool holds a group of 24 characters, and the filter chips are those groups in the order they first appear. Reuse the same spelling for every tool in a group, or the chips split in two. - The block takes two to twelve tools. Past a dozen the filter stops helping, so link to a full directory from the page instead. - Give each tool one line of 120 characters that says what connecting it does for the reader, not what the tool is.

Watch out for

The chips are toggle buttons and the count is announced when a filter changes. Set the count suffix in the page's language, or a screen reader says it in English.

Usage

The block in a page, with its default content (long lists shortened). Every prop is in the table below.

section.tsx
import { Theme } from '@/components/klarhimmel/theme/style';
import { BlockSurface } from '@/components/klarhimmel/blocks/surface';
import IntegrationsGrid from '@/components/klarhimmel/blocks/integrations-grid';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <IntegrationsGrid props={{
          "eyebrow": "Name the topic",
          "title": "Say what it connects with",
          "description": "Say in one or two sentences what they can connect and how quickly it is done.",
          "filterLabel": "Name what the filter does",
          "allLabel": "All",
          "countSuffix": "items",
          "items": [
            {
              "name": "First tool",
              "group": "First group",
              "description": "Say what it does for them, in a line",
              "logo": {
                "src": "/pictures/logo-ekman-fla-kt.svg",
                "alt": "A company logo",
                "srcDark": "/pictures/logo-ekman-fla-kt-dark.svg"
              },
              "link": {
                "label": "Main action",
                "href": "#stripe"
              }
            },
            {
              "name": "Second tool",
              "group": "First group",
              "description": "Say what it does for them, in a line",
              "logo": {
                "src": "/pictures/logo-gro-na-ho-rnet.svg",
                "alt": "A company logo",
                "srcDark": "/pictures/logo-gro-na-ho-rnet-dark.svg"
              },
              "link": {
                "label": "Main action",
                "href": "#swish"
              }
            }
          ]
        }} />
      </BlockSurface>
    </Theme>
  );
}

Props

The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.

PropTypeDefaultDescription
eyebrowstring'Name the topic'Text, up to 60 characters.
titlestring'Say what it connects with'Text, up to 120 characters.
descriptionstring'Say in one or two sentences what th…'Text, up to 300 characters.
filterLabelstring'Name what the filter does'Text, up to 30 characters.
allLabelstring'All'Text, up to 20 characters.
countSuffixstring'items'Text, up to 20 characters.
items{ name, group, description, logo, link }[]6 itemsList of 2 to 12. Each item: name, group, description, logo, link.
headingLevel'1' | '2'-One of '1', '2'. Optional; empty is not rendered.