Editorial Section

A heading and prose beside an image.

Start with the bean.

Small differences become the whole cup. We roast in small batches so each lot keeps its own character.

Roasted coffee beans on the steel counter, with the same cobalt cup behind them.
import { EditorialSection } from '@brand-studio/ui';
import { beans } from '@/demos/assets';

export default function EditorialSectionDemo() {
  return (
    <EditorialSection title="Start with the bean." asset={beans}>
      <p>Small differences become the whole cup. We roast in small batches so each lot keeps its own character.</p>
    </EditorialSection>
  );
}

Installation

pnpm add @brand-studio/ui

Usage

import { EditorialSection } from '@brand-studio/ui';
<EditorialSection title="Start with the bean." asset={beans}>
  <p>…</p>
</EditorialSection>

Accessibility

  • The title is an <h2>. On phones the image moves below the text.

API Reference

PropTypeDefault
titlestring
childrenReact.ReactNode
asset?ImageAsset
id?string

Still, Deskhand and Hollis are fictional brands. The coffee photographs are original generated artwork. @brand-studio/ui is MIT licensed.