
Navigation · Free
Jelly sidebar
An app side menu that moves like jelly: it folds to a rail on a spring, and an ink blob stretches to the item you pick. Groups, counts and the Bot as the avatar.
Free on Gumroad: the download arrives in your inbox.
Details
- Category
- Navigation
- Plan
- Free
- Code
- React + Tailwind, TypeScript · 265 lines
- Files
- JellySidebar.tsx
- Needs
- The Bot (installed with it)
- Agents
- MCP server and shadcn registry
About
An app's side menu that moves like jelly. Fold it into a rail of icons or open it into the full menu: the width springs and overshoots a little, and the labels come in when there's room.
The item you're on sits on an ink blob that slides to the next one and stretches on the way: the edge in front leaves first and the other catches up. In the rail, pointing at an icon pops its name out beside it. Groups open with their items dropping in one by one, and any item can carry a count. At the bottom, you, with the StackD Bot as your avatar; at the top, your brand with the Bot.
React + Tailwind and the Bot, no other libraries.
Install
With the shadcn CLI:
npx shadcn@latest add https://www.stackd.codes/r/jelly-sidebar.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 sidebar component to this project. Use the StackD MCP server: call get_component with { "name": "jelly-sidebar" }, 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
JellySidebar.tsxandBot.tsxinto the same folder (for examplecomponents/). - Use it:
import { JellySidebar, type SidebarItem } from './components/JellySidebar'
const items: SidebarItem[] = [
{ id: 'home', label: 'Home', icon: 'home' },
{ id: 'inbox', label: 'Inbox', icon: 'inbox', badge: 12 },
{ id: 'analytics', label: 'Analytics', icon: 'chart' },
{
id: 'projects', label: 'Projects', icon: 'folder', children: [
{ id: 'site', label: 'Website redesign' },
{ id: 'app', label: 'Mobile app', badge: 3 },
],
},
]
const footer: SidebarItem[] = [
{ id: 'settings', label: 'Settings', icon: 'settings' },
{ id: 'help', label: 'Help', icon: 'help' },
]
<JellySidebar items={items} footer={footer} brand="Acme" user={{ name: 'Ana', detail: 'Pro plan' }} onSelect={(item) => router.push(`/${item.id}`)} />
Leave active out and the sidebar keeps track of the item you're on; pass it to drive it from your router. If the active item is inside a group, that group starts open.
In Next.js the files already start with 'use client'. In other React setups that line does nothing.
Options
| Prop | Default | What it does |
|---|---|---|
items | { id, label, icon?, badge?, children? }. Icons: home, inbox, chart, folder, calendar, users, settings, search, spark, help, doc | |
footer | Items pinned to the bottom (settings, help) | |
brand | 'StackD' | Name next to the Bot at the top |
user | { name, detail? } for the card at the bottom | |
active | The item you're on (leave it out to let the sidebar keep track) | |
onSelect | Called with the item when one is picked | |
defaultCollapsed | false | Start folded into the rail |
theme | 'light' | 'light' or 'dark' |
height | 600 | Height in px |
className | Extra classes |
Accessibility
The menu is a navigation landmark and every item is a button that says whether it's the current page (in the rail, each icon still has its name). The arrow keys move through the menu, Enter picks, and [ folds or opens it. Groups say whether they're open. With reduced motion on, the width and the blob change without springing.
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.


