File browser preview
A controlled file-library block with native path navigation, search, sorting, row selection and consumer-owned detail content.
pro · Blocks · composite
When to use
- Use it when a page needs a controlled file-library block with native path navigation, search, sorting, row selection and consumer-owned detail content.
- 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 file browser.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/file-browserImport components/ui/tidal.css, components/ui/file-browser.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/file-browser.css";
import{TidalFileBrowser}from"./components/ui/file-browser";
export default()=><div className="tidal-scope"><TidalFileBrowser items={[{id:"example",kind:"folder",name:"Demo",accessibleName:"Demo"}]} path={[{id:"example",label:"Demo",accessibleLabel:"Demo"}]} title={"Demo"}/></div>;API and props
TidalFileBrowser.items (required)ReadonlyArray<TidalFileBrowserItem>Required items value accepted by this exported component.
TidalFileBrowser.path (required)ReadonlyArray<TidalFilePathItem>Required path value accepted by this exported component.
TidalFileBrowser.title (required)ReactNodeRequired title value accepted by this exported component.
TidalFileBrowser.descriptionReactNodeOptional description value accepted by this exported component.
TidalFileBrowser.detailReactNodeOptional detail value accepted by this exported component.
TidalFileBrowser.detailLabelstring | undefinedOptional detail label value accepted by this exported component.
TidalFileBrowser.emptyMessageReactNodeOptional empty message value accepted by this exported component.
TidalFileBrowser.eyebrowReactNodeOptional eyebrow value accepted by this exported component.
TidalFileBrowser.footerReactNodeOptional footer value accepted by this exported component.
TidalFileBrowser.headingLevel"h2" | "h3" | undefinedOptional heading level value accepted by this exported component.
TidalFileBrowser.labelsPartial<TidalFileBrowserLabels> | undefinedOptional labels value accepted by this exported component.
TidalFileBrowser.onOpenItem((item: TidalFileBrowserItem, event: ReactMouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void) | undefinedCallback invoked when the open item interaction is proposed.
TidalFileBrowser.onSelectionChange((item: TidalFileBrowserItem, selected: boolean, event: ReactChangeEvent<HTMLInputElement>) => void) | undefinedCallback invoked when the selection change interaction is proposed.
TidalFileBrowser.searchTidalFileSearchControl | undefinedOptional search value accepted by this exported component.
TidalFileBrowser.sortTidalFileSortControl | undefinedOptional sort value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.