Score inline, peek

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

Best for

Headers where the detail should be one step away

Anatomy

One score pill in a header · press it and the breakdown opens in a popover card (a disclosure) that stays inside the stage · Esc or a click outside closes it and focus returns to the pill

MCPConnect the MCP server

Customer reviews

Verified buyers only. Updated daily.

In the Orvain Library

Get Score inline, peek 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. One score pillin a header
  2. Press it and the breakdown opensin a popover card (a disclosure) that stays inside the stage
  3. Esc or a click outside closes it and focus returns to the pill

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, peek” block to this page: one score pill in a header, press it and the breakdown opens in a popover card (a disclosure) that stays inside the stage, Esc or a click outside closes it and focus returns to the pill.

Works in
Connect the MCP

Questions about Score inline, peek.

What is the Score inline, peek block?

Score inline, peek is a Ratings block from Orvain UI, built for React and Vue with a matching Figma frame. Best for headers where the detail should be one step away.

What is the Score inline, peek block made of?

Is the Score inline, peek block responsive?

Is the Score inline, peek block accessible?

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