AI patterns
SentimentIndicator
Positive / neutral / negative readout for sentiment-analysis output.
Preview
+0.78
+0.05
-0.62
Installation
pnpm add nyxis-ui
Usage
import { SentimentIndicator } from 'nyxis-ui';
// or, for stricter tree-shaking:
// import { SentimentIndicator } from 'nyxis-ui/sentiment-indicator';
<SentimentIndicator score={0.78} />
<SentimentIndicator score={0.05} />
<SentimentIndicator score={-0.62} />