# Historical EPS

> Earnings per share by quarter, forecast and reported side by side, dashed bars for the forecast and solid for what was reported. Hover, tap or use the arrow keys on a quarter and the tooltip opens next to it with both numbers and the surprise percentage, placed so it doesn't cover the bar you're reading. The 9 quarters of demo data sit at the top of the file. Light and dark via shadcn theme tokens, respects reduced motion. More dark, data-dense components at https://www.ssych.com/library?ref=21st.dev

- Author: [Savva Sicevs](https://21st.dev/@ssychui)
- Library: [ssych ui](https://21st.dev/@ssychui/library/ssicevs)
- License: mit
- Tags: Finance, Chart
- npm dependencies: framer-motion
- Live preview: https://21st.dev/@ssychui/components/historical-eps

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/ssychui/historical-eps?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/finance.md
