Folder Preview
An interactive 3D folder that opens to reveal image contents.
Install using CLI
npx shadcn@latest add "https://obsidianui.dev/r/folder-preview.json"Install Manually
1
Install dependencies
2
Copy the source code
Copy the code into components/ui/folder-preview.tsx
Props
| Prop Name | Type | Default | Description |
|---|---|---|---|
| images | string[] | - | Array of image URLs |
| folderName | string | 'Folder' | Folder name |
