Heart score, love it

Heart score, love it is a Ratings block from Orvain UI, built for React and Vue with a matching Figma frame.

Best for

Listings and saved items people can join

Anatomy

A 48px heart toggle fills with the red heart and the count rolls up by one · the people who love it as circle avatars with a sentence · the hearts score sits under it as a quiet line

MCPConnect the MCP server
Lisbon · 3 bedrooms

Casa Lumen

5,214 people love this, Mia, Leo and Ana among them
4.5 out of 5

In the Orvain Library

Get Heart score, love it for your product

The block’s code in React and Vue, its frame in the Figma file, and the Orvain MCP so your AI tools build with it. Part of every Library plan, alongside every other block.

  • React
  • Vue
  • Figma frame
  • Orvain MCP

About this block

Part of Ratings

What’s inside

03parts

The pieces it is built from. Keep them all, or drop the ones your product doesn’t need.

  1. A 48px heart toggle fillswith the red heart and the count rolls up by one
  2. The people who love itas circle avatars with a sentence
  3. The hearts score sits under itas a quiet line

Responsive behaviour

480 px

Drawn at this width and never stretched past it. Below it, controls, text and spacing step down from the box the block sits in, not the window.

1440pxDesktop · 12 columns

When to use it

Where Ratings earns its place

Reach for Ratings

  • Closing a support ticket, where the score needs a reason beside it
  • A product page header that has to carry the average and the number behind it
  • A one-off survey after a purchase, where a short scale is all you can fairly ask for
  • A saved or favourited count that should read as affection rather than as a review

Reach for something else

  • You need to know why more than how much: ask an open question, because a bare score points at no fix
  • Responses will only ever number a handful: an average over a tiny sample claims an authority it has not got, so show the raw count instead
  • The answer is yes or no: helpful against not helpful is two buttons, not a scale

Accessibility

06to keep

What the block ships with. Hold on to these as you make it yours.

  • Named controlsEvery icon-only button keeps a text label, so a screen reader can say what it does.
  • Keyboard firstEvery control is reachable with Tab, and its focus ring stays visible.
  • More than colourA state never rides on colour alone; a mark or a word goes with it.
  • Contrast holdsRetheme freely, but keep text at or above the contrast it ships with.
  • Calm motionFor visitors who ask for reduced motion, things simply appear.
  • Room to hitTargets stay at least 24px, with space between neighbours.

Notes for AI

1 line

Is all your assistant needs. With the Orvain MCP connected, it builds the block from your own tokens and components.

Add the Orvain “Heart score, love it” block to this page: a 48px heart toggle fills with the red heart and the count rolls up by one, the people who love it as circle avatars with a sentence, the hearts score sits under it as a quiet line.

Works in
Connect the MCP

Questions about Heart score, love it.

What is the Heart score, love it block?

Heart score, love it is a Ratings block from Orvain UI, built for React and Vue with a matching Figma frame. Best for listings and saved items people can join.

What is the Heart score, love it block made of?

Is the Heart score, love it block responsive?

Is the Heart score, love it block accessible?

How do I add the Heart score, love it block to my project?

When should I not use a Ratings block?

More Ratings blocks

All Ratings

Bar with a note

Post-purchase surveys, ticket close-out, anywhere the score needs a reason

Bar with a note, slide

A rating that should also say why, with one-tap reasons

Bar with a note, composer

Chat and ticket close-outs where the rating and the note are one step

Score stacked

Product page headers, App Store-style blocks

Score stacked, breakdown

Products where an average hides a lot of one-star ratings

Score stacked, recent

Scores that change, where the period matters

Score inline

Review section headers, comparison rows

Score inline, peek

Headers where the detail should be one step away

Score inline, compare

Comparison tables of products or plans

Heart score

Saved and favourited counts, where the summary should not read as a star review

Heart score, fill

Guest-love summaries with a period switch

The Orvain Dispatch

Premium components, free in your inbox.

Join the Orvain Dispatch and get production-ready components, free to keep: React and Vue code plus the Figma frame, yours to ship.

Just components, never spam. You can unsubscribe anytime.