Measured entry
tripled-expanding-search-dock-shadcnui
inputminimal-flatmotion on file
A client-side React search control that morphs from an icon button into a pill-shaped form, keeps its query and open state internally, and calls an optional submit callback. It ships as a shadcn registry component styled with Tailwind theme tokens, using Framer Motion for transitions and Lucide for icons.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 1 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 63.7 KB (129.2 KB build, 65.5 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 1.24s error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-a28b3e3aa029/src/cut/components/uitripled/expanding-search-dock-shadcnui.tsx".
Verdict
A tidy, reusable interaction that builds and mounts on its own and stays contained across the tested layouts. The unnamed expand and close buttons are a release blocker for accessibility, so add explicit accessible labels before shipping it.
Use it if
- You need a compact search affordance that expands only when someone chooses to search.
- Your interface already uses Tailwind theme tokens and can absorb Framer Motion and Lucide.
- An uncontrolled open state and a simple query callback fit your search flow.
Skip it if
- You need an accessible component without first adding names to both icon-only buttons.
- The parent must control whether the field is open or preserve the query after it closes.
- You want a plain input without an animation dependency or automatic focus behavior.
Install
| Declared dependencies | framer-motion, react, radix-ui, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add React, Framer Motion, and Lucide React, configure Tailwind, and define equivalents for the border, card, and muted theme tokens. Copy the component into a client-rendered module; the declared shadcn button dependency is not imported by this source.
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.
Author repository
github.com/moumen-soliman/uitripledAlternatives
Other published entries for the input pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- clay-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- neu-search-inputneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.1KB
- Bare
- pass
- Prov
- NO
- clay-search-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.3KB
- Bare
- pass
- Prov
- NO
- originui-comp-33minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 20.7KB
- Bare
- pass
- Prov
- NO
- hextaui-labelminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 31.3KB
- Bare
- pass
- Prov
- NO
- ruixen-circular-stepper-inputliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 61.1KB
- Bare
- pass
- Prov
- NO