You can customize the dialog by setting the title and the initial directory.
Copy
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: