Expand description
File browser sidebar with tree navigation.
Displays a hierarchical file tree for the Studio’s virtual file system. Supports collapsible directories, file selection, and responsive layout.
§Props
tree- RootFileNodecontaining the file treeselected_path- Currently selected file pathon_select- Callback when a file is selectedon_toggle_dir- Callback when a directory is expanded/collapsedon_new_file- Callback for new file button
§File Icons
Icons are chosen by file extension:
.logicfiles: ∀ (forall symbol).logosfiles: λ (lambda symbol).mathfiles: π (pi symbol)- Other files: document icon
Re-exports§
pub use FileBrowser_completions::Component::FileBrowser;
Structs§
- File
Browser Props - Properties for the
FileBrowsercomponent.
Functions§
- File
Browser - Props