InstallationTanStack Start
Install Default File UI in a TanStack Start project.
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 tanstack-start --name my-start-appcd my-start-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.
Skip if you already have a Start app. Choose the React Start template when prompted.
npx @tanstack/cli createnpx --yes -p github:itsvigneshv/default-file-ui#main df-ui init --framework tanstack-startnpm install github:itsvigneshv/default-file-ui#main react react-dom lucide-reactImport once in your app entry CSS.
@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.