Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

@xterm/addon-fit

xterm.js addon that automatically fits terminal dimensions to container size.

UI components and icons npm MIT

Used in agent projects
30
0.2% of 12,697 public repos built with AI coding agents
Rank in ui components and icons
#48 of 75
by use in those projects
Downloads
4.5M
npm, last 7 days, @xterm/addon-fit
GitHub stars
21.3K
last push Sep 13, 2026

How @xterm/addon-fit is used

@xterm/addon-fit is a dependency in 30 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #48 of 75 in ui components and icons. The most used alternative there is Lucide React. Projects that use it most often also use xterm.js (100.0%), Vitest (73.3%), xterm.js Web Links Addon (70.0%).

Often used with @xterm/addon-fit

xterm.js100.0% of @xterm/addon-fit projects · 396.8× more than average
Vitest73.3% of @xterm/addon-fit projects · 6.0× more than average
xterm.js Web Links Addon70.0% of @xterm/addon-fit projects · 423.2× more than average
Playwright (JavaScript)60.0% of @xterm/addon-fit projects · 6.8× more than average
Zod63.3% of @xterm/addon-fit projects · 3.7× more than average
tsx53.3% of @xterm/addon-fit projects · 5.4× more than average
React90.0% of @xterm/addon-fit projects · 2.1× more than average
TypeScript100.0% of @xterm/addon-fit projects · 1.8× more than average

By coding agent

Claude Code0.7% of projects set up for it
Cursor0.4% of projects set up for it
GitHub Copilot0.3% of projects set up for it
Gemini CLI1.1% of projects set up for it
OpenAI Codex1.1% of projects set up for it

Share of public repos configured for each agent that list @xterm/addon-fit as a dependency.

Install

Packagenpm install @xterm/addon-fit
Main stacksTypeScript / JavaScript (22), Next.js (6), Rust (1), Python (1)
Example projects5pyj29s7cm-tech/LumiCore, cdavid817/vanehub-ai, GuangminJu/mellos-mapping, evanklem/polypore, AmadeusITGroup/otter

Alternatives to @xterm/addon-fit

All ui components and icons

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Lucide React npm
Comprehensive icon library with consistent design for React applications.
2,519 (19.8%) 108M 24.9K ISC
Class Variance Authority npm
Type-safe CSS class composition for component variants and styling.
1,791 (14.1%) 66.3M 6,903 Apache-2.0
Radix UI npm
Unstyled, accessible component primitives for building design systems.
1,519 (12.0%) 182M 19.4K MIT
Sonner npm
Opinionated toast notification component for React applications.
1,025 (8.1%) 49.6M 13K MIT
React Icons npm
Popular icon packs imported as React components with ES6.
688 (5.4%) 8.8M 12.7K MIT
cmdk npm
Command menu component library for React applications.
687 (5.4%) 42.2M 13K MIT
React Day Picker npm
Flexible and customizable date picker component for React.
675 (5.3%) 42.8M 6,859 MIT
Vaul npm
Unstyled, accessible drawer component for React with smooth animations.
582 (4.6%) 35M 8,638 MIT
Is @xterm/addon-fit right for your project? Ask AgentGid →