Column mapper preview
Match source columns to destination fields with sample values and duplicate protection.
pro · Blocks · composite
When to use
- Use it when a page needs match source columns to destination fields with sample values and duplicate protection.
- Choose it inside an authenticated product surface when the host application owns routing, persistence, and service calls.
Alternatives
- Choose empty-state instead when empty collections, search results and errors with a clear next action is the actual interface need, rather than column mapper.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/column-mapperImport components/ui/tidal.css, components/ui/column-mapper.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/column-mapper.css";
import{TidalColumnMapper}from"./components/ui/column-mapper";
export default()=><div className="tidal-scope"><TidalColumnMapper fields={[{id:"example",label:"Demo"}]} onValueChange={() => {}} sources={[{id:"example",label:"Demo"}]} value={{}}/></div>;API and props
TidalColumnMapper.fields (required)ReadonlyArray<TidalColumnField>Required fields value accepted by this exported component.
TidalColumnMapper.onValueChange (required)(next: Record<string, string | undefined>, fieldId: string, event: ChangeEvent<HTMLSelectElement>) => voidCallback invoked when the value change interaction is proposed.
TidalColumnMapper.sources (required)ReadonlyArray<TidalColumnSource>Required sources value accepted by this exported component.
TidalColumnMapper.value (required)Readonly<Record<string, string | undefined>>Required value value accepted by this exported component.
TidalColumnMapper.allowDuplicateSourcesboolean | undefinedOptional allow duplicate sources value accepted by this exported component.
TidalColumnMapper.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalColumnMapper.emptySampleReactNodeOptional empty sample value accepted by this exported component.
TidalColumnMapper.errorsReadonly<Record<string, ReactNode>> | undefinedOptional errors value accepted by this exported component.
TidalColumnMapper.headerActionsReactNodeOptional header actions value accepted by this exported component.
TidalColumnMapper.headingLevel2 | 3 | 4 | 5 | 6 | undefinedOptional heading level value accepted by this exported component.
TidalColumnMapper.missingSampleReactNodeOptional missing sample value accepted by this exported component.
TidalColumnMapper.placeholderstring | undefinedOptional placeholder value accepted by this exported component.
TidalColumnMapper.readOnlyboolean | undefinedOptional read only value accepted by this exported component.
TidalColumnMapper.sampleLabelstring | undefinedOptional sample label value accepted by this exported component.
TidalColumnMapper.showValidationboolean | undefinedOptional show validation value accepted by this exported component.
TidalColumnMapper.summary((mapped: number, total: number) => ReactNode) | undefinedOptional summary value accepted by this exported component.
TidalColumnMapper.titleReactNodeOptional title value accepted by this exported component.
TidalColumnMapper.unavailableColumnLabelstring | undefinedOptional unavailable column label value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- Install the declared registry dependencies and render inside a tidal-scope with the foundation stylesheet loaded.