v12.11.0


widgets

Star meter

Visual representation of a star rating.

Features

  • Scalable vector graphic
  • Fully stylizable
  • Multiple visual styles
  • Auto adjust style based on rendering size

3.58

Anatomy

import { StarMeter } from "@wonderflow/react-components";
export default () => {
return <StarMeter value={3.58}>;
};

tsx

API Reference

PROPERTY
TYPE
DEFAULT
value*
number
0
starCount
number
5
label
ReactNode
dimension
enum
"regular"
hideLabel
boolean
false

Accessibility

Adheres to the meter role requirements.


Created by Wonderflow Design Team for Wonderflow.

© Wonderflow 2024