Measured entry

reui-icon-tile

cardminimal-flat

A compact icon-surface primitive shipped as a shadcn registry component. It renders a span or composes through Radix Slot, with CVA variants for surface, size, and radius. Styling relies on Tailwind utilities, theme tokens, CSS variables, and the project-local cn helper.

Specimen
Harness screenshot of reui-icon-tile at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of reui-icon-tile at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of reui-icon-tile 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 reui-icon-tile
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal32.2 KB (97.7 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A tidy, flexible primitive that built and mounted cleanly in the prepared harness, but its value is mainly consistency across repeated icon treatments. It needs a shadcn-style setup and does not mount in a bare project without the expected local utility and styling infrastructure.

Use it if

  • You need consistent icon containers across list rows, toolbars, stats, or feature summaries.
  • Your design system already uses Tailwind theme tokens and CVA variants.
  • You want an asChild option for composing the tile onto another element.

Skip it if

  • You need a complete card with content layout, actions, or interaction behavior.
  • Your project does not use Tailwind or shadcn-style aliases and utilities.
  • You want a dependency-free wrapper for a single icon treatment.

Install

Installation record for reui-icon-tile
Declared dependenciesclass-variance-authority, radix-ui, clsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn project, add class-variance-authority and radix-ui, provide a compatible cn class-merging helper, configure the local import alias, and supply Tailwind with the color, radius, spacing, border, and shadow tokens used by the variants.

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.