Amines UI
  • Components
  • Blocks
  • Illustrations
  • Interactions
  • Pricing
  • Docs

  • Installation
  • Install Next JS
  • Utilities

Buttons

  • Button
  • Reveal Button
  • Lightning Button

Cards

  • Sand Signature Dialog
  • Split Stack Photo
  • Split Stack
  • Split Stack Particles
  • Whiteboard
  • Fan Card
  • Cards Deck
  • Wobble Wallet
  • Hanging Cards
  • Plastic Cards Carousel
  • Infinite Card Stack

Cursors

  • Frame Cursor
  • Liquid Cursor

Loaders

  • Particle Loader

Texts

  • Pixel Text
  • Ink Bloom Text
  • Pixel Roll
  • Emoji Morph Text
  • Inspect Text
  • Reactive Text

ASCII

  • ASCII Murmur
  • ASCII Card

Gooey

  • Gooey Menu
  • Gooey Search Bar
  • Gooey Slider
  • Gooey Dropdown
  • Gooey Text

  • Tear Note
  • Hover Preview List
  • Particle Orbit Chain
  • Wand Card
  • GitHub Contributions 3D
  • Scratch Card
  • Smart Wallet
  • DUO
  • Smart Lock
  • Pixel Cutter
  • Duo Flip
  • Paper Shredder

  • Keyboard Illustration
  • Note Folder
  • Clavis Keyboard
  • Spiral Book
  • Magnifier
  • Card Drawer
  • Iso Controller
  • Card Shelf
  • Signature Text
  • Folder Card
  • Laptop
  • Smart Briefcase

  • Logo Cloud
  • Shatter Stack

Code Blocks

  • Morph Code Block
  • Terminal Steps
  • iMac Terminal
  • Terminal

CTAs

  • Component Orbit CTA
  • Component Library CTA
  • Interface Builder CTA

Backgrounds

  • Glow Bars Background
  • Grid Press Background
  • Particle Shape Background
  • Particle Network
  • Tilted Marquee Background

Navbar

  • IOS Drop Down
  • Fluid Navbar

Pricing Blocks

  • Pricing Block

  • Card Footer
  • Bento Footer

  • Hero SectionsComing soon
  • Login / SignupComing soon
Amines UI Pro

Make every interface feel alive.

Amines UI is a complete set of components, blocks and illustrations to build your next website in minutes.

Upgrade or change anytime.
Amines UI

Animated components, blocks, illustrations and templates for React, Next.js, Tailwind CSS and Motion. An ever-growing universe built for every kind of project.

A product by Yash Vishnoi

Building in public at @yash_vishnoi7

Socials
Components
ButtonReveal ButtonFrame CursorLiquid CursorSand Signature DialogSplit Stack PhotoSplit StackSplit Stack ParticlesWhiteboardFan Card
Visit all components
Illustrations
Keyboard IllustrationNote FolderClavis KeyboardSpiral BookMagnifierCard DrawerIso ControllerCard ShelfSignature TextFolder Card
Visit all illustrations
Blocks
Logo CloudCard FooterBento Footer
Visit all blocks
Code Blocks
Morph Code BlockTerminal StepsiMac Terminal
Visit all code blocks
CTAs
Component Orbit CTAComponent Library CTAInterface Builder CTA
Visit all ctas
Backgrounds
Glow BarsGrid PressParticle Shape
Visit all backgrounds
Navbar
Fluid NavbariOS Drop Down
Visit all navbar
Pricing Blocks
Pricing Block
Visit all pricing blocks
Interactions
Tear NoteHover Preview ListParticle Orbit ChainWand CardGitHub Contributions 3D
Visit all interactions
Docs
InstallationInstall Next.jsUtilitiesCLI
© 2026 Amines UI. All rights reserved.Made with care for the details.
  1. Library
  2. /
  3. Folder Card

Folder CardFolder Card

A frosted-glass folder with files that peek out, lift on hover, and fan open on click — revealing document details, an add-file button, and a particle burst. Every size is expressed in design units so the whole component scales pixel-perfectly from one `size` prop.

Project Files3 files

Installation

  1. 1

    Install the component:

    npx shadcn@latest add https://ui.amines.fun/registry/folder-card.json
  2. 2

    Usage:

    jsx

    app/page.jsx

    1<FolderCard label="Invoices" size={260} trigger="hover" />

Props

PropTypeDefaultDescriptionRequired
sizenumber220Folder width in px. Every inner size is in design units (1 unit = size/200), so everything scales with it.No
labelReactNode"My Files"Text at the bottom-left of the folder.No
sublabelfunction | string | false(count) => `${count} files`Small text under the label while hovered/open. A function receives the file count; false hides it.No
countnumberundefinedOverride the file count passed to sublabel.No
theme"light" | "dark""light"Preset colours for stage, glass, back panel, shadow and button.No
itemsarrayDEFAULT_FOLDER_ITEMS (teal image, document, red image)Files inside the folder: { type: 'image', palette } or { type: 'image', colors: [4 hexes] }, { type: 'document', accent }, { type: 'custom', content } or { type: 'custom', render }. Optional keys: id, width, height, radius, rotate, x, y, background, className, style. Palettes: teal, red, violet, amber, ocean, forest, rose, mono (exported as FOLDER_PALETTES).No
maxItemsnumber5How many files are shown at once.No
openbooleanundefined (uncontrolled)Controlled open state. Pair with onOpenChange.No
defaultOpenbooleanfalseUncontrolled initial open state.No
onOpenChange(open: boolean) => voidundefinedCalled whenever the folder opens or closes.No
trigger"click" | "hover" | "none""click"What opens it: click, hover, or none (only the open prop controls it).No
hoverLiftbooleantrueShow the soft 'hover' pose before opening.No
closeOnOutsideClickbooleantrueClick outside closes the folder (click trigger only).No
addOnClickbooleantrueThe '+' button drops a new file into the folder.No
newItemsarrayDEFAULT_NEW_ITEMSItems cycled through by the '+' button.No
openOnAddbooleantrueOpen the folder when '+' is pressed.No
onAdd(event) => voidundefinedFired on every '+' press.No
onItemClick(item, index, event) => voidundefinedClick a file while the folder is open.No
onFolderClick(event) => voidundefinedFired when the glass front is clicked.No
showStagebooleantrueRender the dotted card behind the folder.No
stageobjecttheme presetDotted stage card overrides: background, dots, dotColor, dotSize, dotGap, radius, borderColor, shadow, parallax, clip, width, height, offsetY.No
glassobjecttheme presetGlass overrides: blur, saturate, tintTop, tintBottom, borderColor, edgeColor, shine, shineColor, focusColor.No
backobjecttheme presetBack panel overrides: fillTop, fillBottom, borderColor.No
shadowobjecttheme presetGround shadow overrides: show, color, blur, height, widthRatio.No
shapeobjectDEFAULT_SHAPEFolder silhouette overrides: frontTop, tabWidth, curve, drop, radius, backTop, backTabWidth, backCurve, backDrop.No
buttonobjecttheme preset'+' button overrides: show, size, radius, right, bottom, background, color, iconSize, strokeWidth, shadow, icon, ariaLabel, className.No
labelStyleobjecttheme presetLabel overrides: size, weight, letterSpacing, color, left, subSize, subColor, className, subClassName.No
tiltnumber6Max pointer-follow tilt in degrees. 0 = off.No
spring{ stiffness?, damping?, mass? }{ stiffness: 260, damping: 24, mass: 0.9 }Spring config for the tilt and pose motion.No
staggernumber0.035Seconds between files moving.No
introbooleanfalseFiles drop into the folder on mount.No
particlesnumber8Dots that burst from '+' on press. 0 = off.No
particleColorsstring[]DEFAULT_PARTICLE_COLORSColours of the burst particles.No
posesobjectDEFAULT_POSESFine-tune rest/hover/open poses: lift, spread, angle, drop, glassTilt, glassY, folderY, folderScale, shadowScale.No
respectReducedMotionbooleantrueObey the OS reduce-motion setting.No
ariaLabelstringundefinedScreen-reader label of the folder.No
classNamestringundefinedClasses for the outer wrapper; state is exposed as data-state=rest|hover|open.No
styleobjectundefinedInline style for the outer wrapper.No
...restobjectundefinedAny other props are spread onto the wrapper <div>.No