EkomiRating

This component can be used to show the ekomi rating.

Usage

import EkomiRating from "@finanzchef24gmbh/design-system/src/EkomiRating";

Props

Property nameTypeRequiredValuesDefault
isCondensedboolean-true or falsefalse
scaleString-"tiny", "small", "medium", "big", "huge", "gigantic", "small"
  • If isCondensed is false, we additionally show the score.
  • The scale changes the size of the stars.

Examples

<EkomiRating />

4.9 / 5

Example without score

<EkomiRating isCondensed />

Example with scale

<EkomiRating isCondensed scale="gigantic" />