# 8bit Enemy Health Display

> An 8-bit styled enemy health display built on the retro health-bar primitive. Shows enemy name, level, and a health bar with a percentage overlay, driven by current/max health values.

- Author: [OrcDev](https://21st.dev/@theorcdev)
- Library: [8bitcn](https://21st.dev/@theorcdev/library/8bitcn)
- License: MIT
- Tags: Retro, Game UI, 8 Bit, Health Bar
- npm dependencies: tailwindcss, tw-animate-css, class-variance-authority
- Live preview: https://21st.dev/@theorcdev/components/8bit-enemy-health-display

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/theorcdev/8bit-enemy-health-display?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/retro.md
