Back to blocks
BlockDashboard / ApplicationFree

Record Detail Drawer React component

A CRM-style accounts table with a record drawer that slides in from the right: next and previous with J / K, a stage picker that logs to the activity feed, click-to-edit fields that save on Enter, copy email, call and email shortcuts, and Overview / Activity / Notes tabs with a note composer.

About the Record Detail Drawer component

Record Detail Drawer is the list-plus-details pattern from CRMs and admin tools: a table of records, and a panel that slides in with everything about the one you clicked, without leaving the list.

The drawer is built for working through records quickly. J and K move to the next and previous record, fields are edited in place and saved on Enter, the stage picker logs its change to the activity feed, and notes can be added from the keyboard.

When to use it

Use it for CRMs, support queues, order lists, user admin and any table where people open records one after another.

When a record needs a full page of its own, link to a detail screen from the drawer header.

Installation

Add the Record Detail Drawer component to your project with the shadcn CLI. It lands in components/record-detail-drawer.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/record-detail-drawer

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More Dashboard / Application components

Account Menu Dropdown
Free
Date Range Picker with Presets
Free
Upload Queue Panel
Free
Spotlight Search Panel
Free
Advanced Filter Builder
Free
Brand Color Settings Panel
Free