Skip to main content

DirectoryTreeView

Function DirectoryTreeView 

Source
pub fn DirectoryTreeView(_: DirectoryTreeViewProps) -> Element
Expand description

A lazy-loading, filterable, keyboard-navigable, drag-and-drop, search-aware directory-tree explorer widget for Dioxus.

§Props

PropTypeDescription
treeSignal<DirectoryTree>The tree state.
on_eventEventHandler<DirectoryTreeEvent>Receives every interaction.
themeOption<ArcTheme>Icon theme; defaults to UnicodeTheme (or LucideTheme with the icons feature).

See the crate README for a full wiring example.

§Props

For details, see the props struct definition.

  • tree : Signal<DirectoryTree>
  • on_event : EventHandler<DirectoryTreeEvent>
  • theme : Option<ArcTheme>