Logos

The brands a product works with or for, as a row or a grid of muted marks under a short line.

A line about the teams that use the product goes here.

  • Logo 1
  • Logo 2
  • Logo 3
  • Logo 4
  • Logo 5
  • Logo 6
import { Logos } from "@produkto/ui/Logos";
import { Icon, type IconSvgElement } from "@produkto/ui/Icon";
import {
  Atom01Icon,
  CubeIcon,
  Hexagon01Icon,
  Leaf01Icon,
  Orbit01Icon,
  Triangle01Icon,
} from "@hugeicons/core-free-icons";

const logos: { icon: IconSvgElement; name: string }[] = [
  { icon: Hexagon01Icon, name: "Logo 1" },
  { icon: Atom01Icon, name: "Logo 2" },
  { icon: Triangle01Icon, name: "Logo 3" },
  { icon: CubeIcon, name: "Logo 4" },
  { icon: Orbit01Icon, name: "Logo 5" },
  { icon: Leaf01Icon, name: "Logo 6" },
];

const Example = () => (
  <Logos
    logos={logos.map((logo) => (
      <span key={logo.name} className="flex items-center gap-2 heading-lg">
        <Icon icon={logo.icon} size={24} />
        {logo.name}
      </span>
    ))}
    title="A line about the teams that use the product goes here."
  />
);

export default Example;

Usage

import { Logos, type LogoItem } from "@produkto/ui/Logos";
const logos: LogoItem[] = [
  { name: "Logo 1" },
  { name: "Logo 2", media: <img alt="" src="/logo.svg" /> },
  { name: "Logo 3" },
  { name: "Logo 4" },
];

<Logos
  title="A line about the teams that use the product goes here."
  logos={logos}
/>

Examples

Grid

layout="grid" sets each mark in a card of its own, two to a row on phones and three or four on wider screens.

A line about the teams that use the product goes here.

  • Logo 1
  • Logo 2
  • Logo 3
  • Logo 4
  • Logo 5
  • Logo 6
import { Logos } from "@produkto/ui/Logos";
import { Icon, type IconSvgElement } from "@produkto/ui/Icon";
import {
  Atom01Icon,
  CubeIcon,
  Hexagon01Icon,
  Leaf01Icon,
  Orbit01Icon,
  Triangle01Icon,
} from "@hugeicons/core-free-icons";

const logos: { icon: IconSvgElement; name: string }[] = [
  { icon: Hexagon01Icon, name: "Logo 1" },
  { icon: Atom01Icon, name: "Logo 2" },
  { icon: Triangle01Icon, name: "Logo 3" },
  { icon: CubeIcon, name: "Logo 4" },
  { icon: Orbit01Icon, name: "Logo 5" },
  { icon: Leaf01Icon, name: "Logo 6" },
];

const Example = () => (
  <Logos
    layout="grid"
    logos={logos.map((logo) => (
      <span key={logo.name} className="flex items-center gap-2 heading-lg">
        <Icon icon={logo.icon} size={24} />
        {logo.name}
      </span>
    ))}
    title="A line about the teams that use the product goes here."
  />
);

export default Example;

Moving row

layout="marquee" drifts the marks across the band without end on the kit's Marquee, pausing under the pointer and standing still for anyone who asks for less motion.

A line about the teams that use the product goes here.

  • Logo 1
  • Logo 2
  • Logo 3
  • Logo 4
  • Logo 5
  • Logo 6
import { Logos, type LogoItem } from "@produkto/ui/Logos";

const logos: LogoItem[] = [1, 2, 3, 4, 5, 6].map((n) => ({
  name: `Logo ${n}`,
}));

const Example = () => (
  <Logos
    layout="marquee"
    logos={logos}
    title="A line about the teams that use the product goes here."
  />
);

export default Example;

Line beside marks

layout="split" sets the line on the left and the marks on the right, here on the muted surface.

A line about the teams that use the product goes here.

  • Logo 1
  • Logo 2
  • Logo 3
  • Logo 4
import { Logos, type LogoItem } from "@produkto/ui/Logos";

const logos: LogoItem[] = [1, 2, 3, 4].map((n) => ({ name: `Logo ${n}` }));

const Example = () => (
  <Logos
    layout="split"
    logos={logos}
    muted
    title="A line about the teams that use the product goes here."
  />
);

export default Example;

Wordmarks

A logo given only its name is drawn as a wordmark, in the same muted colour.

A line about the teams that use the product goes here.

  • Logo 1
  • Logo 2
  • Logo 3
  • Logo 4
  • Logo 5
import { Logos, type LogoItem } from "@produkto/ui/Logos";

const logos: LogoItem[] = [
  { name: "Logo 1" },
  { name: "Logo 2" },
  { name: "Logo 3" },
  { name: "Logo 4" },
  { name: "Logo 5" },
];

const Example = () => (
  <Logos
    logos={logos}
    title="A line about the teams that use the product goes here."
  />
);

export default Example;

With media

media shows a picture in the name's place, an image or an SVG, and the name becomes its accessible label.

A line about the teams that use the product goes here.

import { Logos, type LogoItem } from "@produkto/ui/Logos";
import {
  Atom01Icon,
  CubeIcon,
  Hexagon01Icon,
  Leaf01Icon,
  Orbit01Icon,
  Triangle01Icon,
} from "@hugeicons/core-free-icons";
import { Icon } from "@produkto/ui/Icon";

const logos: LogoItem[] = [
  { media: <Icon icon={Hexagon01Icon} size={32} />, name: "Logo 1" },
  { media: <Icon icon={Atom01Icon} size={32} />, name: "Logo 2" },
  { media: <Icon icon={Triangle01Icon} size={32} />, name: "Logo 3" },
  { media: <Icon icon={CubeIcon} size={32} />, name: "Logo 4" },
  { media: <Icon icon={Orbit01Icon} size={32} />, name: "Logo 5" },
  { media: <Icon icon={Leaf01Icon} size={32} />, name: "Logo 6" },
];

const Example = () => (
  <Logos
    logos={logos}
    title="A line about the teams that use the product goes here."
  />
);

export default Example;

API Reference

Logos

LogosProps · blocks/Logos/Logos.types.ts
PropTypeDefault
idstring-
titleReactNode-
logos(LogoItem | ReactNode)[]-
layoutLogosLayout"row" | "grid" | "marquee" | "split""row"
mutedbooleanfalse
classNamestring-

LogoItem

used by logos
PropTypeDefault
namerequiredstring-
mediaReactNode-