Score inline

Score inline is a Ratings block from Orvain UI, built for React and Vue with a matching Figma frame.

Best for

Review section headers, comparison rows

Anatomy

Stars, score, counts and link on one line · each group is unbreakable so a narrow card wraps whole groups and the stars never leave their number

MCPConnect the MCP server
4.6

In the Orvain Library

Get Score inline 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

02parts

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

  1. Stars, score, counts and linkon one line
  2. Each group is unbreakable so a narrow card wraps whole groups and the stars never leave their number

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 “Score inline” block to this page: stars, score, counts and link on one line, each group is unbreakable so a narrow card wraps whole groups and the stars never leave their number.

Works in
Connect the MCP

Questions about Score inline.

What is the Score inline block?

Score inline is a Ratings block from Orvain UI, built for React and Vue with a matching Figma frame. Best for review section headers, comparison rows.

What is the Score inline block made of?

Is the Score inline block responsive?

Is the Score inline block accessible?

How do I add the Score inline 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, 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, love it

Listings and saved items people can join

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.