Picker Simple react hook to open browser file selector Jan 14, 2021 1 min read use-file-picker Simple react hook to open browser file selector. View Demo View Github Install npm i use-file-picker Console Usage import { useFilePicker } from 'use-file-picker'; function App() { const [filesContent, errors, openFileSelector, loading] = useFilePicker({ multiple: true, // accept: '.ics,.pdf', accept: ['.json', '.pdf'], }); if (errors.length > 0) return <p>Error!</p>; if (loading) { return <div>Loading...</div>; } return ( <div> <button onClick={() => openFileSelector()}>Reopen file selector</button> <pre>{JSON.stringify(filesContent)}</pre> </div> ); } React JSX Author ? Milosz Jankiewicz ? Kamil Planer GitHub Jaaneek/useFilePicker29234Simple react hook to open browser file selector. — Read Morehttps://use-file-picker.vercel.appLatest commit to the master branch on 1-17-2025Download as zip PickerFile Browser
Color Harmony - A unique Color Picker application built with React Harmony is a unique Color Picker application built with React and TypeScript. 23 January 2024
Date Picker A Date Range Picker component using Radix UI and Tailwind CSS A Date Range Picker component using Radix UI and Tailwind CSS 26 July 2023