Export dialog preview
Choose a file format, row scope and fields before requesting an export.
pro · Blocks · composite
When to use
- Use it when a page needs choose a file format, row scope and fields before requesting an export.
- 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 export dialog.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/export-dialogImport components/ui/tidal.css, components/ui/export-dialog.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/export-dialog.css";
import{TidalExportDialog}from"./components/ui/export-dialog";
export default(p:Parameters<typeof TidalExportDialog>[0])=><div className="tidal-scope"><TidalExportDialog {...p}/></div>;API and props
TidalExportDialog.fields (required)ReadonlyArray<TidalExportField>Required fields value accepted by this exported component.
TidalExportDialog.formats (required)ReadonlyArray<TidalExportFormat>Required formats value accepted by this exported component.
TidalExportDialog.onOpenChange (required)(open: boolean) => voidCallback invoked when the open change interaction is proposed.
TidalExportDialog.onValueChange (required)(next: TidalExportValue, event: TidalExportChangeEvent) => voidCallback invoked when the value change interaction is proposed.
TidalExportDialog.open (required)booleanRequired open value accepted by this exported component.
TidalExportDialog.scopes (required)ReadonlyArray<TidalExportScope>Required scopes value accepted by this exported component.
TidalExportDialog.value (required)TidalExportValueRequired value value accepted by this exported component.
TidalExportDialog.clearUnavailablePropsSubmitProps | undefinedOptional clear unavailable props value accepted by this exported component.
TidalExportDialog.clearUnavailableRefRef<HTMLButtonElement> | undefinedOptional clear unavailable ref value accepted by this exported component.
TidalExportDialog.descriptionstring | undefinedOptional description value accepted by this exported component.
TidalExportDialog.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalExportDialog.errorReactNodeOptional error value accepted by this exported component.
TidalExportDialog.footerReactNodeOptional footer value accepted by this exported component.
TidalExportDialog.formatRefRef<HTMLSelectElement> | undefinedOptional format ref value accepted by this exported component.
TidalExportDialog.headerActionsReactNodeOptional header actions value accepted by this exported component.
TidalExportDialog.headingLevel2 | 3 | 4 | 5 | 6 | undefinedOptional heading level value accepted by this exported component.
TidalExportDialog.labelsPartial<{ format: string; scope: string; fields: string; submit: string; pending: string; empty: string; configuration: string; fieldRequired: string; clearUnavailable: string; }> | undefinedOptional labels value accepted by this exported component.
TidalExportDialog.onExportRequest((value: TidalExportValue, event: FormEvent<HTMLFormElement>) => void) | undefinedCallback invoked when the export request interaction is proposed.
TidalExportDialog.pendingboolean | undefinedOptional pending value accepted by this exported component.
TidalExportDialog.submitPropsSubmitProps | undefinedOptional submit props value accepted by this exported component.
TidalExportDialog.submitRefRef<HTMLButtonElement> | undefinedOptional submit ref value accepted by this exported component.
TidalExportDialog.theme"light" | "dark" | undefinedOptional theme value accepted by this exported component.
TidalExportDialog.titlestring | undefinedOptional title value accepted by this exported component.
TidalExportDialog.triggerReactElement<unknown, string | JSXElementConstructor<any>> | undefinedOptional trigger value accepted by this exported component.
TidalExportOptions.fields (required)ReadonlyArray<TidalExportField>Required fields value accepted by this exported component.
TidalExportOptions.formats (required)ReadonlyArray<TidalExportFormat>Required formats value accepted by this exported component.
TidalExportOptions.onValueChange (required)(next: TidalExportValue, event: TidalExportChangeEvent) => voidCallback invoked when the value change interaction is proposed.
TidalExportOptions.scopes (required)ReadonlyArray<TidalExportScope>Required scopes value accepted by this exported component.
TidalExportOptions.value (required)TidalExportValueRequired value value accepted by this exported component.
TidalExportOptions.clearUnavailablePropsSubmitProps | undefinedOptional clear unavailable props value accepted by this exported component.
TidalExportOptions.clearUnavailableRefRef<HTMLButtonElement> | undefinedOptional clear unavailable ref value accepted by this exported component.
TidalExportOptions.descriptionReactNodeOptional description value accepted by this exported component.
TidalExportOptions.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalExportOptions.errorReactNodeOptional error value accepted by this exported component.
TidalExportOptions.footerReactNodeOptional footer value accepted by this exported component.
TidalExportOptions.formatRefRef<HTMLSelectElement> | undefinedOptional format ref value accepted by this exported component.
TidalExportOptions.headerActionsReactNodeOptional header actions value accepted by this exported component.
TidalExportOptions.headingLevel2 | 3 | 4 | 5 | 6 | undefinedOptional heading level value accepted by this exported component.
TidalExportOptions.labelsPartial<{ format: string; scope: string; fields: string; submit: string; pending: string; empty: string; configuration: string; fieldRequired: string; clearUnavailable: string; }> | undefinedOptional labels value accepted by this exported component.
TidalExportOptions.onExportRequest((value: TidalExportValue, event: FormEvent<HTMLFormElement>) => void) | undefinedCallback invoked when the export request interaction is proposed.
TidalExportOptions.pendingboolean | undefinedOptional pending value accepted by this exported component.
TidalExportOptions.submitPropsSubmitProps | undefinedOptional submit props value accepted by this exported component.
TidalExportOptions.submitRefRef<HTMLButtonElement> | undefinedOptional submit ref value accepted by this exported component.
TidalExportOptions.titleReactNodeOptional title 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.