Measured entry

originui-comp-53

inputminimal-flat

A client-side, read-only input with a labeled copy button, tooltip, and temporary success icon. It ships as a shadcn registry component and depends on React, Lucide icons, the local class-merging utility, and project-level Input, Label, and Radix-backed Tooltip primitives.

Specimen
Harness screenshot of originui-comp-53 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-53 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-53 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 originui-comp-53
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal47.2 KB (112.6 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 4.80s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ui/comp-53.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A focused copy-field pattern that builds, mounts, and stays tidy across the tested layouts. Its accessible labeling and state feedback are solid, but it needs a shadcn-style setup and assumes clipboard writes succeed.

Use it if

  • You need a compact copy field for commands, tokens, links, or other fixed text.
  • Your app already uses shadcn conventions and has matching input, label, and tooltip primitives.
  • You want visible copied feedback without adding a toast workflow.

Skip it if

  • The value must be editable, because this implementation hard-codes a read-only field.
  • You need copy failure handling or a fallback for browsers where the Clipboard API is unavailable.
  • You want to avoid bringing in tooltip primitives and Lucide icons for a small copy control.

Install

Installation record for originui-comp-53
Declared dependenciesradix-ui
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 React client-component support, Lucide React, the Radix-backed tooltip implementation, compatible Input and Label components, a class-merging helper, the expected import alias, and the Tailwind theme tokens and utility classes used by the source. Also ensure the page runs in a secure context for clipboard access.

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.

License
MIT
Record published
2026-08-13

Alternatives

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.