Feature Split

A two-column Payload CMS feature block that pairs a heading, optional eyebrow badge, description, and CTA links on the left with a stacked list of feature cards on the right. It is built from shadcn Badge and Card primitives and is installed with the Payload Components wrapper.

block · no preview
This item cannot be built as published, so there is no live preview: build: ✗ Build failed in 110ms
See how it was built

Installation

pnpm dlx shadcn@latest add @payload-components/feature-split

Requires @payload-components in the registries of your components.json (shadcn adds official directory namespaces automatically).

Usage

usage.tsx
import { FeatureSplitBlock } from '@/blocks/FeatureSplit/Component'export default function Page() {  return (    <FeatureSplitBlock      eyebrow='Platform'      title='Ship content faster'      description='Edit every section from one admin panel.'      items={[        { title: 'Live preview', description: 'See changes before you publish.' },        { title: 'Localization', description: 'Translate fields per locale.' },      ]}      links={[]}    />  )}
  • Use it to introduce a product or service with a headline and CTA next to a short list of supporting features.
  • Use it when a page needs a 2-to-6 item feature list paired with one or two call-to-action links.
  • Use it as a section in a Payload page layout where editors manage the heading, copy, and features in the CMS.
  • Avoid it when you need a grid, bento, or step-by-step layout; use the sibling feature variants instead.

Examples

Minimal feature split

Renders the heading and two feature cards with no eyebrow or CTA links.

minimal-feature-split.tsx
import { FeatureSplitBlock } from '@/blocks/FeatureSplit/Component'export function MinimalFeatureSplit() {  return (    <FeatureSplitBlock      title='Built for editors'      items={[        { title: 'Visual editing', description: 'Edit blocks inline with a live preview.' },        { title: 'Reusable blocks', description: 'Share one block across many pages.' },      ]}      links={[]}    />  )}

With eyebrow and CTA links

Adds an outlined eyebrow badge and two link buttons above the feature list.

with-eyebrow-and-cta-links.tsx
import { FeatureSplitBlock } from '@/blocks/FeatureSplit/Component'export function LaunchFeatureSplit() {  return (    <FeatureSplitBlock      eyebrow='New'      title='Launch in an afternoon'      description='Start from a starter kit and customize it as you go.'      items={[        { title: 'Starter kit', description: 'A working site with sample content.' },        { title: 'Deploy anywhere', description: 'Runs on any Node-compatible host.' },        { title: 'Typed content', description: 'Generated types keep your data safe.' },      ]}      links={[]}      className='py-16'    />  )}

Without inner container

Disables the centered max-width inner wrapper so the grid spans the full frame width.

without-inner-container.tsx
import { FeatureSplitBlock } from '@/blocks/FeatureSplit/Component'export function WideFeatureSplit() {  return (    <FeatureSplitBlock      id='features'      title='Wide layout'      description='The inner grid fills the available width.'      items={[        { title: 'Full width', description: 'No centered max-width container.' },        { title: 'Flexible', description: 'Pair with custom page wrappers.' },      ]}      links={[]}      disableInnerContainer    />  )}

API reference

PropTypeDefaultDescription
titlestring—Main heading rendered as an h2. Required in the CMS schema.
eyebrowstring | null | undefined—Optional short label rendered as an outlined Badge above the heading.
descriptionstring | null | undefined—Optional muted paragraph rendered below the heading.
itemsArray<{ id?: string | null; title: string; description: string }> | null | undefined—Feature entries rendered as cards in the right column. Rendered only when the array is non-empty. The CMS requires 2 to 6 rows.
linksArray<{ link: { appearance?: 'default' | 'outline' | null; type?: string | null; label?: string | null; url?: string | null } }> | null | undefined—CTA links from the linkGroup field. Each entry is passed to CMSLink; outline appearance maps to the outline variant and everything else to default. The CMS allows up to 2 rows. Rendered only when non-empty.
idstring—Optional block id. When set, the section receives the id prefixed with block-.
classNamestring—Extra class names merged onto the outer section element with cn.
disableInnerContainerboolean—When true, removes the mx-auto max-w-6xl constraint from the inner two-column grid.

Accessibility

  • The title renders as an h2, so place the block below the page's h1 to keep the heading order logical.
  • The outer element is a section; add an aria-labelledby or aria-label through a wrapper if the section needs an accessible name.
  • CTA links are rendered by CMSLink, which provides native anchor semantics, so each link keeps its visible label as its accessible name.
  • Eyebrow text is shown in a Badge and is read as normal text; keep it short and meaningful.
  • Feature cards use Card, CardTitle, and CardDescription, which are visual containers and may not be exposed as headings to assistive technology; keep titles descriptive.
  • Muted text uses text-muted-foreground; verify the contrast ratio against the chosen theme colors.

Docs written by anthropic:claude-haiku-5-5 from the registry source.

Use with Coding Agent

Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.

prompt.md
Use the "Feature Split" component (payload-components/feature-split) from its shadcn registry.1. Install it with: npx shadcn@latest add @payload-components/feature-split2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.4. Available props: title, eyebrow, description, items, links, id, className, disableInnerContainer.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { FeatureSplitBlock } from '@/blocks/FeatureSplit/Component'export default function Page() {  return (    <FeatureSplitBlock      eyebrow='Platform'      title='Ship content faster'      description='Edit every section from one admin panel.'      items={[        { title: 'Live preview', description: 'See changes before you publish.' },        { title: 'Localization', description: 'Translate fields per locale.' },      ]}      links={[]}    />  )}```

Files & dependencies

  • payload-components/source/blocks/shared/featureFields.ts→ ~/src/blocks/shared/featureFields.ts
  • payload-components/source/blocks/FeatureSplit/config.ts→ ~/src/blocks/FeatureSplit/config.ts
  • payload-components/source/blocks/FeatureSplit/Component.tsx→ ~/src/blocks/FeatureSplit/Component.tsx
registryDependenciesbadgecard

Looks similar, elsewhere

There is no screenshot of this item to compare yet.