Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Information Drawer

Information Drawer

A card-to-drawer component for team profiles, portfolio entries, product details, service explainers, talent directories, editorial cards, and image-led collections where browsing should stay fast but details still need space.

GSAPLenis
DemoDemoDemo

Tune the Real Props

Background Color

Background color of the drawer panel.

Text Color

Text and icon color inside the drawer panel.

Overview

Information Drawer turns a visual grid into an expandable detail system. The default export renders a built-in five-person team grid (DEFAULT_TEAM in the source), so showing your own cards means editing that array.

Each card opens a panel that slides in from the right with a larger portrait, name, role, a few paragraphs of bio, a LinkedIn link, an optional second image and a counter such as 2/5. On desktop the panel takes 70% of the width by default (sidebarWidth) and the grid stays visible behind a dimmed overlay, so the user keeps their place while exploring more detail. The drawer gives the selected item room to breathe without forcing a route change for every click.

Use Information Drawer when a page needs both overview and depth. It works for team pages, agency profiles, portfolio indexes, service libraries, product-card grids, creator directories, feature collections, editorial archives, and marketplace-style browsing where users should be able to inspect an item quickly and return to the grid.

The page job is context retention. The visitor should know what they selected, read the details, close the drawer, and continue browsing without feeling like the interface took them somewhere else.


Usage Code

page
1import InformationDrawer from "@/components/effects/information-drawer";2 3export default function page() {4  return (5    <>6        <InformationDrawer />7    </>8  );9}

Example Production Use Case

An agency can use Information Drawer on its team page. The grid shows portraits and names, while the drawer gives each person space for role, background, working style, and relevant links. Visitors can inspect team depth without loading a separate profile page for every person.

The outcome is speed with substance. The overview stays clean, but the page still has enough detail to build trust.

A SaaS company can use the same pattern for integration cards or feature modules. Each card stays compact, and the drawer explains what the integration does, when to use it, and where to go next.


Best Used For

  • Team profile grids and leadership pages.
  • Portfolio, case-study, and project indexes where each card needs extra context.
  • Product modules, integrations, or feature libraries.
  • Service directories where cards need supporting explanation.
  • Creator, advisor, instructor, or talent directories.
  • Editorial or visual archives where detail should open without losing browsing context.

Not For

Not for critical forms, checkout flows, legal content, dense documentation, long articles, or content that deserves its own permanent URL.

Not for hiding essential information that should be visible on the card itself. The drawer should deepen the item, not rescue an underwritten grid.

Not for long-form detail on small screens. Below 1024px the drawer already opens at full width, so it does not get cramped, but long bios still mean a lot of scrolling inside the panel.


Performance Budget

Keep drawer content lightweight, optimize images, and avoid rendering every detailed panel at full cost before it is opened. Animate transform and opacity rather than layout-heavy properties.

The component already renders only the selected member's details in a single drawer rather than a hidden panel per card, so the main cost of a large grid is its images. Keep it that way if you extend it: do not ask the browser to carry fifty hidden profile biographies just in case someone feels curious.


Accessibility and Mobile

Each card is a div with role="button" and tabIndex=0, so keyboard users can Tab to it and open the drawer with Enter or Space. The drawer closes with its labelled Close button or a click on the dimmed overlay. There is no Escape key handler, focus is not moved into the drawer when it opens, and it is not returned to the card when it closes, so add Escape support, focus management and focus return (or a full dialog pattern) where keyboard and screen-reader users matter. Keep the reading order logical and make selected states understandable.

Below 1024px the cards become a horizontally scrolling row with the name and role always showing, and the drawer opens at full width instead of as a narrow side panel. With reduced motion enabled, the drawer, overlay and content appear and disappear instantly with no slide or fade.


Common Mistakes

  • Opening details without returning focus to the selected card.
  • Using non-semantic divs for clickable cards.
  • Hiding important information inside the drawer.
  • Making the close button hard to find.
  • Letting the background scroll unpredictably while the drawer is open.
  • Using a desktop side drawer on mobile without adaptation.
  • Filling the drawer with too much copy.

Changelog

Registry sidebarWidth default corrected to 70 (70%) to match the component.
Initial release

API Reference

PropTypeDefaultDescription
durationnumber0.65Drawer panel and overlay slide duration in seconds.
contentDurationnumber0.25Duration in seconds of the content fade, staged after the panel opens and before it closes.
contentDelaynumber0.4Delay in seconds before the staged content fades in, measured from when the drawer starts opening.
delaynumber0Delay before the drawer animation starts, in seconds.
backgroundColorcolor#ffffffBackground color of the drawer panel.
textColorcolor#111111Text and icon color inside the drawer panel.
sidebarWidthnumber | string70Desktop drawer width. Numbers are applied as a percentage (70 renders as "70%").
overlayOpacitynumber0.2Backdrop opacity while the drawer is open.

Questions, Answered.

What is Information Drawer?

Information Drawer is a React component that opens detailed content from a selected card while keeping the user in the same page context.

When should I use Information Drawer?

Use it for team profiles, portfolio entries, product details, integration cards, service explainers, directories, and visual grids where users need quick access to deeper information.

Is Information Drawer the same as a modal?

Not exactly. A modal usually interrupts the page. A drawer is often more contextual: it slides in beside or over the existing layout while preserving a sense of where the user came from.

Should drawer content have its own page?

If the content is long, SEO-important, shareable, or part of a major conversion path, create a dedicated page. Use Information Drawer for compact detail expansion.

How do I keep Information Drawer accessible?

Out of the box the cards are keyboard-focusable buttons that open on Enter or Space, and the drawer has a labelled Close button. It does not close on Escape, move focus into the drawer or return focus to the card, so add those yourself, along with clear labels and a logical reading order.

How should Information Drawer work on mobile?

It already adapts below 1024px: the cards become a horizontally scrolling row and the drawer opens at full width, so there is no narrow side panel squeezed onto a phone.

View MoreView More

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Timeline
GSAPLenis

Timeline

Components

Interactive List Preview
GSAP

Interactive List Preview

Components

Infinite Grid Gallery
Pro
CSS

Infinite Grid Gallery

Components

GSAP Flip Card
GSAP

GSAP Flip Card

Components