Skip to content
Twentyfirst UIHalo

Merge Records

CRM · MergeRecords, Panel

View as Markdown

Two or more duplicates side by side: for every field that differs, pick which value to keep, then merge.

  • Rows that differ are marked; the kept value is highlighted. value and onChange hold the choice per field, onMerge gets it.

Merge duplicates

Pick what to keep per field

FieldLena HartmannCreated Mar 2023 · 48 activitiesL. HartmannImported Oct 2026 · 2 activities
EmailDiffers
Phone
CompanyDiffers
Job titleDiffers
City

Props

MergeRecords

PropTypeNotes
records{ id: string; title: string; subtitle?: string; values: Record<string, ReactNode> }[]Two (or more) records that are the same thing.
fields{ id: string; label: string }[]Required
value?Record<string, string>Which record's value to keep per field (default: the first record's, or the first that has one).
onChange?(value: Record<string, string>) => void
onMerge?(value: Record<string, string>) => void
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

Panel

PropTypeNotes
side?boolean
title?string
subtitle?string
action?ReactNode
children?ReactNode
surface?Surface`"glass"`: translucent glass over what is behind (maps, 3D, video, photos); `"solid"` opts out inside a glass `UIProvider`.
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.