Project Folder
ProYour projects in a frosted glass folder that fans them out and opens each one big.
Customize
<ProjectFolder projects={projects} />Changes show live and stay in the address, so a link keeps them.
Code
This one is a Pro component
Pro components come with Pro Components, any Templates plan or All-Access. Sign in, or enter your licence key, to see the code here and copy it, or install it with the shadcn CLI below.
Install
With the shadcn CLI
Pro components install from a private registry that checks your licence key (Pro Components, a Templates plan or All-Access). Set it up once per project. The key stays in an environment variable and never goes into components.json.
1. Add the registry
Merge this into components.json.
{
"registries": {
"@dimaac-pro": {
"url": "https://api.dimaac.com/v1/ui/r/{name}.json",
"headers": { "Authorization": "Bearer ${DIMAAC_LICENSE_KEY}" }
}
}
}2. Add your key
Put it in .env.local (or your shell) and keep that file out of git. The CLI fills in ${DIMAAC_LICENSE_KEY} from it.
DIMAAC_LICENSE_KEY=your-licence-key3. Add the component
npx shadcn@latest add @dimaac-pro/project-folder@dimaac-pro is the registry from step 1. More in Docs
By hand
npm install motion- Install the packages it uses: motion.
- Copy the component file from the Code panel (once your licence key unlocks it) into components/dimaac/project-folder.tsx.
- It's styled with Tailwind v4 classes. If that folder sits outside the places Tailwind scans, add it with @source in your CSS.
- Import it with import { ProjectFolder } from "@/components/dimaac/project-folder" and give its parent a size: it fills it.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
projects (required) | ProjectFolderItem[] | - | The projects. The first one stands at the back of the folder and the last one in front. |
title | ReactNode | "Projects" | The heading over the folder: text, or your own styled element. Leave it empty to keep just the switch. |
label | string | - | What is printed on the glass. Defaults to the heading when that is text. |
defaultView | "folder" | "grid" | "folder" | Which view it starts in. |
toggle | boolean | true | Show the switch between the folder and the grid. |
color | string | "#a9bfe8" | The colour of the folder's plastic. Its light and shade are worked out from it. |
linkLabel | string | "Open project" | The text of the link under a project shown big. |
className | string | "" | Extra classes on the outer box. |
Use with AI
Agent prompt
Paste it into Claude Code, Cursor or any coding agent, or open it straight in a chat. It carries your Customize settings.
Add the Project Folder component (<ProjectFolder />) from DiMaac UI to this project. It is a Pro component, so its source needs the owner's DiMaac licence key (Pro Components, a Templates plan or All-Access).
Docs: https://ui.dimaac.com/components/project-folder
1. Add the Pro registry to components.json (merge it into "registries"). Don't write the key into the file:
{
"registries": {
"@dimaac-pro": {
"url": "https://api.dimaac.com/v1/ui/r/{name}.json",
"headers": { "Authorization": "Bearer ${DIMAAC_LICENSE_KEY}" }
}
}
}
2. The owner puts their licence key in .env.local (keep it out of git): DIMAAC_LICENSE_KEY=your-licence-key
Ask them for it if it isn't set. Never print it or commit it.
3. Install it with:
npx shadcn@latest add @dimaac-pro/project-folder
The registry item is https://api.dimaac.com/v1/ui/r/project-folder.json and wants the header "Authorization: Bearer <licence key>".
Then use it like this:
import { ProjectFolder } from "@/components/dimaac/project-folder";
<ProjectFolder projects={projects} />
It imports motion; the CLI installs them. It uses Tailwind v4 classes, so make sure Tailwind scans that folder.
Give its parent a size, keep light and dark mode working and keep its prefers-reduced-motion fallback.
Full index for agents: https://ui.dimaac.com/llms.txtFiles agents read
- llms.txt
- Every component and how to install it
- project-folder.md
- This page as Markdown: install, props and the full source
About
A folder of your projects with a frosted glass front, built in 3D: a back board with an index tab, pleated sides that open as the glass tips forward, and the cards standing inside. Click it and the cards fan out above it; click one and it flies out big with a line about it and a link that opens in a new tab. A switch lays them out as a grid and files them back. Clips play on hover. One plastic colour you choose, springs from Motion, keyboard and touch friendly, and calm with reduced motion.
- Installs to
components/dimaac/project-folder.tsx- Uses
- motion
- Tags
- folder, 3d, glass, projects, portfolio