Component packs › Stitch › Satin Rating

Satin Rating

Each star fills with satin stitch inside a backstitch outline, the threads catching the light in bands.

Satin Rating is a rating from Stitch, a component pack with 6 thread controls: Controls that are sewn, knitted and embroidered, with real thread physics. Price: $2 for the whole pack.

Built with: satin fill, backstitch outline, picked out from the end.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Satin Rating props

PropTypeDefaultDescription
valuenumber
countnumber
labelstring
namesstring[]
onChange(v: number) => void
autoplaynumber | false

Methods on the ref

Use it in React

import SatinRating from './SatinRating';

<SatinRating />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Stitch

Good for: Toggle switches, Loaders and progress, Physics UI components.