Supported on Android, iOS, macOS and JVM targets

Quick start

Easily open a folder picker dialog to let users select a directory.
val directory = FileKit.openDirectoryPicker()

Customizing the dialog

You can customize the dialog by setting the title and the initial directory.
val directory = FileKit.openDirectoryPicker(
    title = "Directory picker",
    directory = PlatformFile("/custom/initial/path"),
    dialogSettings = dialogSettings,
)
Read more about dialog settings to customize the dialog for each platform.
macOS System AppearanceOn macOS, to ensure the directory picker dialog uses the system’s theme (light or dark), you may need to set a system property at the start of your application:
System.setProperty("apple.awt.application.appearance", "system")
This is typically done in your main function, before the application window is created.