Measured entry

neu-slider

sliderneumorphismfirst party

A controlled React range input wrapped in a semantic label, with an optional computed value badge and neumorphic styling. It ships as one default-exported JSX component, has no package dependencies, and relies on Tailwind utility classes, including arbitrary shadow and color values.

Specimen
Harness screenshot of neu-slider at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of neu-slider at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of neu-slider 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 neu-slider
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal17.7 KB (83.1 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A tidy, dependency-free slider that builds and mounts on its own, keeps native range semantics, and fits restrained neumorphic interfaces. Adopt it when the fixed visual treatment and controlled-input API match your form; otherwise expect a small styling or value-formatting pass.

Use it if

  • You want a compact labeled slider whose current position can be shown beside the label.
  • Your React interface already uses Tailwind and its muted neumorphic palette fits the surrounding surface.
  • You are prepared to own the value in parent state and pass an onChange handler.

Skip it if

  • Your product does not use Tailwind and you do not want to translate the utility classes into CSS.
  • You need a filled track that visibly communicates progress before the thumb.
  • You need defensive handling for equal bounds, out-of-range values, or a display format other than a computed percentage.

Install

Installation record for neu-slider
Declared dependenciesnone declared
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

First-party component from the sir-originals set. In a non-shadcn project, add React and configure Tailwind to scan this JSX file so its utility and arbitrary-value classes are emitted. If Tailwind is not part of the stack, recreate those classes in ordinary CSS. Manage the value in parent state and wire onChange yourself.

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

mrkeyoor/sir-originals
License
MIT
Record published
2026-08-13

Alternatives

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