# Application File Manager: File Conflict Resolver

A sync conflict resolver with one card per file comparing the device copy against the cloud copy by radio choice, plus an apply summary bar.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-conflict-resolver
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [File Manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager)
- Created: 2026-07-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-conflict-resolver.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-file-manager-file-conflict-resolver
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: avatars, badge, button, radio-group
- Installs to: `@/components/blocks/application-pro/file-manager/file-conflict-resolver`

## About this block

File Conflict Resolver is the resolution view for
files edited in two places at once, headed by Resolve
conflicts and a line noting 2 files were changed on
two devices at the same time. Each conflict is a card
whose header carries the file name, its folder path,
and a Conflicted badge, with a two option radio choice
below comparing the copy on this device against the
cloud copy. Each option shows the editor avatar and
name, the edit time, and the size, with the newer copy
carrying a Newer badge and each card offering a Keep
both action. A summary bar at the bottom reads 2
conflicts waiting on a choice beside Keep both for all
and Apply choices buttons.

Conflicts are one typed array, each with two versions
and a keep field setting which radio option is
selected by default, plus an optional latest flag on
the newer version driving the Newer badge. The device
and cloud sides read from the same shape, so a new
conflict only needs its two versions and a default
choice.

## When to use

Reach for this block when a sync engine detects the
same file changed in two places, wired to your
conflict queue. Default the selection to the newer
copy but let the user override, and always offer keep
both so no edit is lost by accident.

A natural flow around it on an Application Pro page:

**Before**

- [File version history](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager)
- [Sync status panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager)

**After**

- [Activity feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity)

## What you can display

One strong use is the file sync conflict. Other
conflict shapes:

- **Document merge review.** Two edits of a doc side
  by side, with a changed lines count per version.
- **Settings conflicts.** A local config against a
  synced one, comparing changed keys instead of size.
- **Import duplicates.** An incoming file against an
  existing one, with a keep both or replace choice.

> Tip: badge the newer copy and default to it, most
> people want the latest edit and only need to
> override the rare exception.

## More in Application File Manager

- [File Activity Feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-activity-feed)
- [File Browser Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-browser-table)
- [File Detail Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-detail-panel)
- [File Grid Gallery](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-grid-gallery)
- [File Request Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-request-panel)
- [File Search Results](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-search-results)
- [File Version History](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-version-history)
- [Folder Tree Nav](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/folder-tree-nav)
- [Recent Files List](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/recent-files-list)
- [Share Permissions Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/share-permissions-panel)
- [Shared Links Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/shared-links-table)
- [Shared With Me Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/shared-with-me-table)
- [Storage Cleanup Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/storage-cleanup-panel)
- [Storage Usage Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/storage-usage-card)
- [Sync Status Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/sync-status-panel)
- [Trash Bin Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/trash-bin-table)
- [Upload Dropzone Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/upload-dropzone-card)
