Skip to Main Content
Mosaic Logo
Mosaic Logo
  • Home
  • Browse components
  • Use in projects
    • Colors
    • Icons
    • Grid
    • Links
    • Typography
    • Spacing Utilities
    • SVG
    • Accordions
    • Alerts
    • Badges
    • Buttons
    • Copy to clipboard
    • Cards
    • Featured Container
    • Filter Bar
    • Lists
    • Loading Spinners
    • Modals
    • Pagination
    • Progress Bars
    • Progress Indicator
    • Site Banner
    • Tables
    • Tabs
    • Toast
    • Toggle Switches
    • Well
    • Wizard
    • Events
    • File Browser
    • File Upload
    • Footer
    • Header
    • Hero
    • Post Item
    • Profile
    • Sidebar Navigation
    • Splash
    • Stack
    • Form Instructions
    • Form Layout
    • Form Validation
    • Form Output
    • Checkboxes
    • Labels
    • Radio Buttons
    • Search Input
    • Select
    • Text Inputs

File Browser

Description

The FileBrowser component is designed to navigate through different directories within a folder structure and display a list of files. It features an interactive navigation component that updates to reflect the user's current location within the directory structure. The component integrates with an API to fetch contents dynamically when a folder is selected.

Behavior

Navigating Into Folders

Clicking on a folder initiates an API call to fetch the contents of that folder. This action is essential for exploring deeper into the directory structure.

Breadcrumb Navigation

Users can click directly on any part of the breadcrumb trail to navigate back to any previously accessed directory. This feature enhances user navigation efficiency by allowing quick jumps to higher levels in the folder hierarchy without needing to sequentially backtrack.

Path Updates

The navigation component dynamically updates to reflect the user's current location within the file system, starting from 'Home', which represents the root folder. Each subsequent directory accessed by the user is added to the breadcrumb trail, maintaining an accurate and interactive path history.

Home Directory

When the current location is 'Home', the navigation component displays a single entry for the root folder. This setup simplifies the interface when users are at the starting point of their file system journey.

Example

  1. Folder 1
  2. Folder 2
  3. Folder 3
File Browser - View and search files. Column headers with buttons are sortable.
File Name
Size
File Type
Actions
Folder Of Secrets
The Lord of the Rings was a very long trilogy from director Peter Jackson
Holy Freakin cow! Budget_Forecast_2023 Woooooooo.pdf
2.3MBPDF
Lord Of the rings trailer.mov
1.2GBMOV video
Report_2023.pdf
1.5MBimage
Budget_Forecast_2023.pdf
2.3MBPDF
Meeting_Minutes_022023.pdf
0.9MBPDF
Report_2023.pdf
1.5MBPDF
Budget_Forecast_2023.pdf
2.3MBPDF
Meeting_Minutes_022023.zip
0.9MBzip
Meeting_Minutes_022023_part_2.zip
0.9MBzip
Budget_Forecast_2023.pdf
2.3MBPDF
Meeting_Minutes_022023.pdf
0.9MBPDF
Report_2023.mp3
1.5MBaudio
Budget_Forecast_2023.pdf
2.3MBPDF
Meeting_Minutes_022023.pdf
0.9MBPDF
  • facebook

  • Instagram

  • Twitter

  • LinkedIn

  • YouTube

  • Accessibility
  • Privacy Policy
  • Contact Us
Sign up for our newsletter
ICPSR

© 2025 The Regents of the University of Michigan. ICPSR is part of the Institute for Social Research at the University of Michigan.