Measured entry

cultui-floating-panel

cardglassmorphismmotion on file

A copy-in, client-side React floating note panel that expands from its trigger with spring animation and a blurred backdrop. It ships as a shadcn registry component built from context and composable form parts, and relies on Motion, Lucide icons, Tailwind utility classes, and the usual cn helper alias.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of cultui-floating-panel at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of cultui-floating-panel at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of cultui-floating-panel at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for cultui-floating-panel
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal70.7 KB (136.1 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 26.41s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ui/floating-panel.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A polished copy-in option for contextual note capture, with clean composition and a verified working demo. It needs a shadcn-style setup to build and mount as supplied. Budget time for stronger dialog focus behavior and collision-aware placement before treating it as a general-purpose popover.

Use it if

  • You need a compact, animated note or feedback form that opens beside its trigger.
  • Your app already uses shadcn conventions, Tailwind utilities, and Motion.
  • You want composable trigger, header, body, footer, textarea, and action primitives that remain easy to restyle.

Skip it if

  • You need production-grade dialog focus trapping, focus restoration, or fully accurate expanded-state signaling without extending the component.
  • The panel must avoid viewport edges or reposition itself around nearby boundaries.
  • You want to avoid the added client weight of Motion for a small form interaction.
  • Your design system does not use Tailwind utilities or shadcn path aliases and you do not want to adapt the source.

Install

Installation record for cultui-floating-panel
Declared dependenciesmotion
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add Motion and Lucide React, provide React client-component support, configure Tailwind for the included utility classes, and create or replace the cn class-merging helper and its path alias. If your stack lacks aliases, change that import to a local relative path.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Alternatives

Other published entries for the card pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.