Angular file manager template

A drive with a folder tree, drag-to-move and a recoverable Trash, built from the Styloviz components

One route — the file browser — beside a folder tree, a Trash and a storage quota, over one signal store that keeps the filesystem as a flat list of nodes: the tree, the breadcrumb, paths and folder sizes are all derived from it. Moves, renames, uploads and deletes update the screen at once and are saved through a mock API you swap for your own with one setting. Dark mode, and on a phone the tree and the details panel open as drawers.

Included with a Styloviz Pro license. The download is a complete Angular project — npm install && npm start.

Screenshot of the Styloviz File Manager Template
sort orders, folders always first
6
move refusals, each with a message
4
actions in each item’s ⋯ menu
7
stored paths or folder sizes — all derived
0

Walkthrough · 1:30

What it does, page by page

  1. 1. Browser

    Open

    The current folder as a sortable list or a grid of cards, under a breadcrumb whose every crumb is a drop target, with the item count and total size. This folder, Starred and Recent (the 24 newest files) switch the view drive-wide; six sort orders — name, newest, largest, each both ways — always keep folders first and put notes-2 before notes-10. Tick items for a selection bar with Star, Move to… and Delete; drag a selection onto a folder, and a folder only highlights when the drop is allowed — moving a folder into itself or a folder it contains is refused with a message. Each item’s ⋯ menu opens, shows details, renames in place, stars, copies its path, downloads (a message in the demo) and deletes; a details panel shows size, owner, modified date and a clickable location. Upload from a file picker or by dropping files from the desktop — names are recorded, not bytes. Deleted items go to Trash, where they can be restored (to My files if their folder is gone) or deleted forever after a confirm.

Built from Styloviz components

The template is a composition of the same packages you install from npm — nothing in it is a one-off copy of a component.

Components the template imports
ComponentPackageUsed for
sv-data-table-pro@styloviz-pro/data-tablethe list view — sorting handed to the store so bytes and dates sort as numbers, selection, custom cells
sv-file-tree@styloviz/code-blockthe folder tree in the rail and in the phone drawer
sv-dropdown-menu@styloviz-pro/overlaysthe sort menu, Move to… and each item’s ⋯ menu
sv-confirm-dialog@styloviz-pro/overlaysthe Delete forever confirmation
sv-drawer@styloviz-pro/overlaysthe folder tree and the details panel on smaller screens
sv-empty-state@styloviz/empty-statean empty folder, an empty Trash, nothing starred and no search results
sv-input-field@styloviz/input-fieldsearch in the current folder
sv-button@styloviz/buttonNew folder, Upload, Empty trash and the selection actions
sv-badge@styloviz/badgethe Trash item count and the New tag on uploads
ThemeService@styloviz/corethe light / dark toggle in the header
sv-icon-pro@styloviz-pro/iconsevery glyph — the template registers the ones it names

What it would cost to build

Our estimate for building the same thing from scratch is 2–3 weeks for one experienced Angular developer — roughly 80–120 hours for the flat filesystem store, the move guard, list and grid views with drag and drop, the sorting, rename, the Trash with restore and the specs — before any of your own storage backend. It is an estimate, not a measurement.

Questions

Does it connect to my backend?

Yes. Set FILES_API.baseUrl in files.config.ts and FilesStore loads the drive with GET /drive — every node, flat — then sends each move, rename, star, new folder, upload, delete and restore as one POST /changes carrying the whole nodes it changed and the ids it removed. Leave it empty and the demo drive loads through the same code after demoLatencyMs . Writes are optimistic: a refused one is put back and a banner says so.

Does upload or download store real files?

No. An upload records each file’s name, size and kind so the row is accurate — with an API configured that metadata is posted, but the bytes never are; Download shows a message saying it is not connected. Upload the bytes with your own call before addFiles , and wire Download to your storage.

What stops a folder being moved into itself?

FilesStore.move() walks each target’s parent chain and refuses a move into the folder itself or into anything it contains, returning the reason so the page can show it. A drag only highlights a folder when that same test passes. Keep the guard if you move the logic to a server.

Which Angular and Tailwind versions does it need?

Angular 21 or 22 with standalone components and signals, and Tailwind CSS 4. The download is a complete Angular project: npm install && npm start .

Is it accessible?

The browser is scanned with axe in light and dark mode. Every icon-only button has a label, the selection bar has a keyboard path to Move to… so dragging is never the only way to move, rename takes Enter and Escape, and Copy path reports its result in a live region.

What license covers it?

The File Manager template is part of Styloviz Pro. A Pro license covers the template and the Pro packages it imports, including use in client projects.

Looking for something else? See every template