Skip to content
Klarhimmel UI

Integrations, featured

Integrations, featured previewIntegrations, featured preview

Install

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

One integration told in full (logo, tagline, what it does, a list of highlights and an action) beside a short list of the others, each a single link.

Import

Import

import Block from '@/components/klarhimmel/blocks/integrations-featured';
Also called
  • integrations/featured
About
One integration told in full (logo, tagline, what it does, a list of highlights and an action) beside a short list of the others, each a single link. For the integration most customers ask about.
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

One integration told in full beside a short list of the others, for the connection most customers ask about first. For a plain directory of many tools, use integrations-grid.

Writing for it

- The featured tool takes a tagline of 80 characters, a body of 240 and two to four highlights. Write the highlights as outcomes for the reader, one per line. - The side list takes two to six tools with a line each. Each one is a single link, so the line must make sense without a button. - The badge holds 24 characters. Use it for a fact such as the most connected tool; leave it empty when nothing earns it.

Watch out for

Both logos are Media slots with their own alt text. A logo left without an image still needs alt text that names the tool, since the name is not repeated next to it in the side list.

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 IntegrationsFeatured from '@/components/klarhimmel/blocks/integrations-featured';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <IntegrationsFeatured props={{
          "eyebrow": "Name the topic",
          "title": "Say which to connect first",
          "description": "Say in one sentence which one most people connect first, and that the rest can …",
          "featured": {
            "badge": "Say why it leads",
            "name": "Name the tool",
            "tagline": "Say what it gives them",
            "body": "Say in two sentences what it does for them and what they no longer have to do t…",
            "logo": {
              "src": "/pictures/logo-lindholmen-logistik.svg",
              "alt": "A company logo",
              "srcDark": "/pictures/logo-lindholmen-logistik-dark.svg"
            },
            "highlights": [
              "Name a first benefit, in a line"
            ],
            "cta": {
              "label": "Main action",
              "href": "#stripe"
            }
          },
          "moreLabel": "Name the other options",
          "more": [
            {
              "name": "Second tool",
              "description": "Say what it adds, in a line",
              "logo": {
                "src": "/pictures/logo-sa-vena-s-bygg.svg",
                "alt": "A company logo",
                "srcDark": "/pictures/logo-sa-vena-s-bygg-dark.svg"
              },
              "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 which to connect first'Text, up to 120 characters.
descriptionstring'Say in one sentence which one most …'Text, up to 300 characters.
featured{ badge, name, tagline, body, logo, highlights, cta }{…}Fields: badge, name, tagline, body, logo, highlights, cta.
moreLabelstring'Name the other options'Text, up to 40 characters.
more{ name, description, logo, href }[]3 itemsList of 2 to 6. Each item: name, description, logo, href.
headingLevel'1' | '2'-One of '1', '2'. Optional; empty is not rendered.