FREE / COMPONENTS
Folder
Folder is a reusable components reference prepared for the MADLAB library. Explore the live behavior, understand the implementation, and take the source into your own project.
- Difficulty
- Intermediate
- Build time
- 30–90 minutes
- Category
- COMPONENTS
- Status
- MADLAB preview + local source
MADLAB / WORKSPACE
Build it, then tune it.
Move inside the preview to test the interaction. Open Code when you are ready to adapt the local source.
02 / API surface
Props & source.
The useful details stay visible beside the experiment: what it is, where it lives, and which values are safe to change.
- Component
- Folder
- Source path
- src/ts-tailwind/Components/Folder/Folder.tsx
- Stack
- React / TypeScript / Tailwind CSS
- Controls
- Primary, light, and deep values are mapped to MADLAB controls.
- Accessibility
- Keep the surrounding label and non-motion fallback when integrating.
03 / Integration notes
Make the reference yours.
Use the preview to understand the visual rule, then keep only the behavior that earns its place in your interface. The local source remains available for every catalog item.
04 / Full tutorial
Build Folder from zero.
A complete, step-by-step breakdown of Folder: from the static contract to a tactile open and close state for a folder, responsive behavior, accessibility, and production tuning.
MADLAB / archive