/Chonky

😸 A File Browser component for React.

Primary LanguageTypeScriptMIT LicenseMIT

Chonky v2 Logo
NPM package MIT license Chat on Discord


Chonky is a file browser component for React. It tries to recreate the native file browsing experience in your browser. This means your users can make selections, drag & drop files, toggle between List and Grid file views, use keyboard shortcuts, and much more!

This is a fork of Chonky by TimboKZ.

Usage

Add the forked npm packages:

yarn add @samuelncui/chonky @samuelncui/chonky-icon-fontawesome

Add to your app:

import { FullFileBrowser } from '@samuelncui/chonky'
import { ChonkyIconFA } from '@samuelncui/chonky-icon-fontawesome'

export function MyComponent() {
    return <FullFileBrowser
      files={[]}
      darkMode={true}
      iconComponent={ChonkyIconFA}
    />
}

Please create an issue if you have a problem or want to request a feature.

License

MIT © Samuel N Cui. 2023

MIT © Aperture Robotics, LLC. 2023

MIT © Tim Kuzhagaliyev 2020