boxen is a JavaScript library for rendering text inside customizable boxes in terminal applications. Developers provide text and configuration options, and the package generates the corresponding Unicode terminal layout. Borders can use predefined styles or fully custom character sets, with configurable colors and opacity. Boxes can include titles with independent alignment controls and can position their contents to the left, center, or right. Width, height, padding, margins, background colors, and horizontal placement can all be customized. The library can also expand a box to use the available terminal screen area through its fullscreen option. It is useful for notices, status panels, warnings, summaries, and visually separating important command-line output.

Features

  • Multiple predefined and custom border styles
  • Configurable border and background colors
  • Box titles with adjustable alignment
  • Width, height, padding, and margin controls
  • Left, center, and right text positioning
  • Fullscreen terminal box rendering

Project Samples

Project Activity

See All Activity >

Categories

Terminals

License

MIT License

Follow boxen

boxen Web Site

Other Useful Business Software
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of boxen!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Terminals

Registered

2026-09-08