Measured entry
tripled-floating-label-input-shadcnui
inputminimal-flatmotion on file
A client-side React text field whose label animates above the control on focus or after entry. It ships as a shadcn registry component, composes the project Input primitive, and uses React state plus Framer Motion. Its surrounding utility classes assume a Tailwind-style design system.



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 | flagged at 375 |
| Axe critical | 1 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 66.9 KB (132.3 KB build, 65.4 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 52.09s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/input.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
Use it as a visual starting point, not a drop-in production field. It builds and mounts in the prepared harness, but needs a shadcn-style setup, overflows a narrow viewport, and leaves the visible label unassociated with the input. Fix responsiveness, labeling, and the component API first.
Use it if
- You want a compact floating-label field and can adapt the source to your form API.
- Your app already has shadcn-style aliases, utilities, and an Input primitive.
- Framer Motion is already justified elsewhere in your interface.
Skip it if
- You need an accessible field without first adding a programmatic label association.
- The field must fit narrow layouts without revising its fixed width and generous wrapper padding.
- You need a reusable controlled input with value, change, name, and validation props.
- You do not want an animation dependency for a single form-field effect.
Install
| Declared dependencies | framer-motion, react, radix-ui |
|---|---|
| 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, the expected Radix UI dependency, Tailwind utility support, an Input primitive, the at-sign path alias, and the shadcn class-merging utility under src/lib/utils. Add matching input and label identifiers, then replace the fixed sizing and padding for narrow layouts.
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