
Widgets · Free
Jelly folder
A soft folder for dashboards: drop files and they fly in along an arc, the flap opens and the folder squashes like a sponge; papers fan out on hover.
Free on Gumroad: the download arrives in your inbox.
Details
- Category
- Widgets
- Plan
- Free
- Code
- React + Tailwind, TypeScript · 293 lines
- Files
- JellyFolder.tsx
- Needs
- React and Tailwind only
- Agents
- MCP server and shadcn registry
About
A folder for a dashboard that you fill with files and photos, and it feels soft. Drag files from your desktop over it and the front flap opens to take them; drop, and each one flies in along an arc. When it lands the folder squashes like a sponge and springs back. Point at it and the papers inside peek out and fan open.
Photos show as little prints with their real picture; other files as a sheet with a folded corner and their extension (PDF, XLSX, MD…). The front carries the folder's name and how many items it holds.
React + Tailwind, no other libraries.
Install
With the shadcn CLI:
npx shadcn@latest add https://www.stackd.codes/r/jelly-folder.jsonOr let your agent add it through the StackD MCP server:
claude mcp add --transport http stackd https://www.stackd.codes/mcpPrompt for your agent
Paste it into Claude Code, Cursor, Codex or VS Code once the MCP server is connected.
Add the StackD Jelly folder component to this project. Use the StackD MCP server: call get_component with { "name": "jelly-folder" }, write the files at the paths it gives and install any npm packages it lists. Then use it where it fits, following its README for the props, and keep its own styles.Use
- Copy
JellyFolder.tsxinto your project (for examplecomponents/). - Use it:
import { JellyFolder, type FolderItem } from './components/JellyFolder'
const [files, setFiles] = useState<FolderItem[]>([
{ id: '1', name: 'Brief.pdf', kind: 'file' },
{ id: '2', name: 'Moodboard.jpg', kind: 'photo', src: '/moodboard.jpg' },
])
<JellyFolder
name="Brand kit"
items={files}
addButton={false}
onAdd={(added, all) => upload(added)} // dropped files come with their name, kind and a preview for photos
/>
The demo items (FOLDER_DEMO, FOLDER_MORE) point to example pictures; swap them for yours, or pass items. In Next.js the file already starts with 'use client'. In other React setups that line does nothing.
Options
| Prop | Default | What it does |
|---|---|---|
name | 'Project' | The folder's name, on its front |
items | three demo items | What's inside: { id, name, kind: 'photo' | 'file', src? } |
onAdd | Called with the new items (and all of them) when files are dropped in or added | |
addButton | true | Show the Add button (it puts in the items from addNext, one each press) |
addNext | demo items | What the Add button puts in, in turn |
color | ink / cream | The folder's colour |
theme | 'light' | 'light' or 'dark' |
width | 320 | Width of the card in px |
pose | Hold it in a pose for covers and mock-ups: { peek, open }, 0 to 1 each | |
className | Extra classes |
Accessibility
Real files are dropped with the browser's own drag and drop; the Add button works with keyboard and touch. With reduced motion on, items go in without flying and nothing springs.
Colours from StackD
White #FFFFFF · Ink #141310 · Wine #901919 · Olive #6C8544 · Ochre #BE9344 · Lilac #C9B8FF
Licence
You can use it in personal and commercial projects. Don't resell or share the component on its own.



