Skip to content
Category

React Interaction Patterns

Patterns solve interaction problems rather than visual ones. A kanban board that reorders across columns, a command palette that filters as you type, a wizard that tracks progress across steps: the difficulty in each is state and event handling, not styling. These entries are the ones worth reading before copying, because the useful part is usually the twenty lines of logic in the middle rather than the markup around it.

28 entries in this category

All 28 patterns · 17 free

Featured
NewPro

A toolbar that follows a text selection and highlights ranges without touching the DOM.

selectiontoolbarannotate
Featured
NewPro

A scrim whose blur ramps instead of switching on — stacked backdrop-filter layers at doubling radii with overlapping masks.

cssbluroverlay
Featured
NewPro

Sentinel-based pagination with the stall fixed — the bug where a short page leaves the sentinel on screen and loading stops.

infinite-scrollpaginationintersection-observer
Featured
NewPro

An undo window that defers the action instead of reversing it, and pauses when you tab toward the button.

undotoastasync
Featured
NewPro

The error pattern that actually works with a screen reader: focus the summary, link to the fields, punish late.

formvalidationa11y
Featured
NewPro

A sheet on the native dialog element — no hand-rolled focus trap, and the three things the platform leaves you fixed.

dialogmodalsheet
Featured
NewPro

A list of text rows, each hiding a photograph that wipes open under the cursor and follows it.

galleryhoverlist
Featured
NewPro

An endlessly pannable board that recycles a fixed set of tiles via modulo wrapping.

draginfinitecanvas
Featured
NewPro

A carousel whose side cards recede in scale, blur and rotation from one offset value.

carousel3ddepth
Featured
NewPro

A list that dims and blurs every row except the one under the pointer.

listhoverfocus
Featured
NewPro

Toasts collapsed into a depth-scaled deck that fans out on hover.

toaststacknotification
Featured
New

The pointer cuts a soft hole through one layer to expose a different one beneath.

cursormaskreveal
Featured
New

A rail you can throw — it projects the momentum and settles on the nearest slide.

dragcarouselinertia
New

A row of panels where the hovered one grows and its neighbours compress.

hoveraccordiongallery
Featured
New

An index list that floats a velocity-tilted preview card beside the pointer.

hoverpreviewlist
Featured

A card grid with a soft red spotlight that follows the cursor across it.

gridspotlightcursor
Featured

A draggable deck of cards you flick away to cycle through, Tinder-style.

dragswipestack

A queue of toast notifications that stack, reflow, and auto-dismiss independently.

toastnotificationqueue

Cards that pin and stack on top of each other as you scroll past.

scrollstickystack

Cards mounted on a rotating 3D ring — the active one faces forward, others recede.

carousel3drotate

A drag-handle-driven list that reorders with a smooth layout swap.

dragsortablelist

A modal sheet you can drag down to dismiss, with a distance + velocity threshold.

modalsheetdrag

A Cmd+K style searchable command menu with a filtered live list.

commandpalettesearch

A dark code block with a one-click copy button that confirms itself.

codecopyclipboard

A mini kanban board where cards drag both within and across columns.

kanbandragboard

An auto-advancing quote carousel with directional slide transitions.

testimonialcarouselquote

A navbar that slides away on scroll-down and reappears on scroll-up.

navbarscrollheader

A filterable FAQ list where each answer expands independently.

faqsearchaccordion