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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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

1 day ago