Skip to content
zenui/react-hooks

useFileDialog

Opens the native file picker without rendering a file input. Use it when the trigger is a custom button, a menu item or a keyboard shortcut.

Level
Intermediate
Since
v2.1.0
import {useFileDialog} from '@zenuilabs/react-hooks';
Loading demo_

More in Browser & Device