Navigation
Inputs & Forms
Selection
Containers & Overlays
Overview
A RatioCard shows a part of a whole as figure and bar, e.g. used storage of the available storage.
Sentiment
Überwiegend Positiv
Positiv
125
Neutral
20
Negativ
10
"use client";import {IconEmotionHappy,IconEmotionNormal,IconEmotionUnhappy,RatioCard,RatioCardData,} from "@brynlabs/fusion-ui";import React from "react";export const RatioCardExample = () => {const data: RatioCardData = {data: [{value: 125, name: "Positiv", icon: <IconEmotionHappy />},{value: 20,name: "Neutral",icon: <IconEmotionNormal />,},{value: 10, name: "Negativ", icon: <IconEmotionUnhappy />},],showKPIs: true,name: "Sentiment",title: "Überwiegend Positiv",marker: {label: "Ziel",percent: 80,},colors: "spectrum",};return <RatioCard data={data}></RatioCard>;};

