docs/components/data/DirectoryPicker

DirectoryPicker

Directory selection dialog.

import { DirectoryPicker } from '@ybouhjira/hyperkit';

#Playground

Edit the code — the preview recompiles and re-renders as you type.

Live playground
Loading preview…

#Props

PropTypeDefaultDescription
items *FileItem[]
currentPath *string
onNavigate(path: string) => void
onBack() => void
onSelect(path: string) => void
loadingboolean
titlestring
descriptionstring
classstring

* required prop.