InstallationReact
Install Default File UI in any React app (manual setup).
Scaffold a new project with Default File UI already configured.
Creates the framework app and wires Default File UI (package, CSS, and framework config).
npx --yes -p github:itsvigneshv/default-file-ui#main df-ui init -t react --name my-react-appcd my-react-app
npm run devimport { Button } from "@default-file/ui/components/df-button"
export function Example() {
return <Button>Click me</Button>
}Prefer the CLI init in your app folder, or follow the manual steps.
Create React App, Parcel, Rsbuild, or a custom Webpack setup all work as long as you can import CSS and TSX from `node_modules`.
npx --yes -p github:itsvigneshv/default-file-ui#main df-ui init --framework reactnpm install github:itsvigneshv/default-file-ui#main react react-dom lucide-reactImport once near your app entry (CSS file or `import "@default-file/ui/css/df-index.css"` in JS).
@import "@default-file/ui/css/df-index.css";import { Button } from "@default-file/ui/components/df-button"
export function Example() {
return <Button>Click me</Button>
}Using a different stack? Choose another framework.