Import wizard preview
Prepare a file mapping, review parsed rows, and emit an import plan without executing an import.
pro · Blocks · composite
When to use
- Use it when a page needs prepare a file mapping, review parsed rows, and emit an import plan without executing an import.
- 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 import wizard.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/import-wizardImport components/ui/tidal.css, components/ui/import-wizard.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/import-wizard.css";
import{TidalImportWizard}from"./components/ui/import-wizard";
export default(p:Parameters<typeof TidalImportWizard>[0])=><div className="tidal-scope"><TidalImportWizard {...p}/></div>;API and props
TidalImportWizard.fields (required)ReadonlyArray<TidalColumnField>Required fields value accepted by this exported component.
TidalImportWizard.fileAdapter (required)ReactNodeRequired file adapter value accepted by this exported component.
TidalImportWizard.mapping (required)Readonly<Record<string, string | undefined>>Required mapping value accepted by this exported component.
TidalImportWizard.onMappingChange (required)(next: Record<string, string | undefined>, fieldId: string, event: React.ChangeEvent<HTMLSelectElement>) => voidCallback invoked when the mapping change interaction is proposed.
TidalImportWizard.onStepChange (required)(next: TidalImportStep, event: React.MouseEvent<HTMLButtonElement>) => voidCallback invoked when the step change interaction is proposed.
TidalImportWizard.preview (required)TidalImportPreviewRequired preview value accepted by this exported component.
TidalImportWizard.sources (required)ReadonlyArray<TidalColumnSource>Required sources value accepted by this exported component.
TidalImportWizard.step (required)TidalImportStepRequired step value accepted by this exported component.
TidalImportWizard.title (required)ReactNodeRequired title value accepted by this exported component.
TidalImportWizard.cancelButtonPropsNativeButtonProps | undefinedOptional cancel button props value accepted by this exported component.
TidalImportWizard.cancelButtonRefRef<HTMLButtonElement> | undefinedOptional cancel button ref value accepted by this exported component.
TidalImportWizard.cancelStepTidalImportStep | undefinedOptional cancel step value accepted by this exported component.
TidalImportWizard.canContinueboolean | undefinedOptional can continue value accepted by this exported component.
TidalImportWizard.descriptionReactNodeOptional description value accepted by this exported component.
TidalImportWizard.downloadButtonPropsNativeButtonProps | undefinedOptional download button props value accepted by this exported component.
TidalImportWizard.downloadButtonRefRef<HTMLButtonElement> | undefinedOptional download button ref value accepted by this exported component.
TidalImportWizard.fileTidalImportFileSummary | undefinedOptional file value accepted by this exported component.
TidalImportWizard.fileErrorReactNodeOptional file error value accepted by this exported component.
TidalImportWizard.formProps(Omit<Omit<DetailedHTMLProps<FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref">, "aria-disabled" | "children" | "dangerouslySetInnerHTML" | "onSubmit"> & { onSubmit?: (event: FormEvent<HTMLFormElement>) => void; }) | undefinedOptional form props value accepted by this exported component.
TidalImportWizard.formRefRef<HTMLFormElement> | undefinedOptional form ref value accepted by this exported component.
TidalImportWizard.headingLevel2 | 3 | 4 | 5 | 6 | undefinedOptional heading level value accepted by this exported component.
TidalImportWizard.labelsPartial<{ file: string; mapping: string; review: string; progress: string; result: string; previous: string; next: string; prepare: string; cancel: string; downloadErrors: string; rowIssue: string; noColumns: string; validFileRequired: string; selectedFile: string; noFile: string; }> | undefinedOptional labels value accepted by this exported component.
TidalImportWizard.mappingErrorsReadonly<Record<string, ReactNode>> | undefinedOptional mapping errors value accepted by this exported component.
TidalImportWizard.nextButtonPropsNativeButtonProps | undefinedOptional next button props value accepted by this exported component.
TidalImportWizard.nextButtonRefRef<HTMLButtonElement> | undefinedOptional next button ref value accepted by this exported component.
TidalImportWizard.onCancelProgress((event: React.MouseEvent<HTMLButtonElement>) => void) | undefinedCallback invoked when the cancel progress interaction is proposed.
TidalImportWizard.onDownloadErrorRows((event: React.MouseEvent<HTMLButtonElement>) => void) | undefinedCallback invoked when the download error rows interaction is proposed.
TidalImportWizard.onImportPlan((plan: TidalImportPlan, event: FormEvent<HTMLFormElement>) => void) | undefinedCallback invoked when the import plan interaction is proposed.
TidalImportWizard.persistentFieldsReadonlyArray<{ name: string; value: string; }> | undefinedOptional persistent fields value accepted by this exported component.
TidalImportWizard.planStepTidalImportStep | undefinedOptional plan step value accepted by this exported component.
TidalImportWizard.previousButtonPropsNativeButtonProps | undefinedOptional previous button props value accepted by this exported component.
TidalImportWizard.previousButtonRefRef<HTMLButtonElement> | undefinedOptional previous button ref value accepted by this exported component.
TidalImportWizard.progressTidalImportProgress | undefinedOptional progress value accepted by this exported component.
TidalImportWizard.resultReactNodeOptional result value accepted by this exported component.
TidalImportWizard.submitButtonPropsNativeButtonProps | undefinedOptional submit button props value accepted by this exported component.
TidalImportWizard.submitButtonRefRef<HTMLButtonElement> | undefinedOptional submit button ref 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.