NeoTerm UI

Terminal Box

A terminal-styled container with optional title bar and traffic-light dots.

Import

import { TerminalBox } from "neoterm-ui";

Usage

<TerminalBox title="server.log">
  <p>Log output here…</p>
</TerminalBox>

<TerminalBox variant="glass" title="config.yml">
  <p>Glass variant with blur backdrop</p>
</TerminalBox>

Props

PropTypeDefaultDescription
titlestringTitle shown in the header bar.
variant"default" | "raised" | "glass""default"Visual style variant.
headerExtraReactNodeExtra content rendered in the title bar.
classNamestringAdditional CSS classes.
childrenReactNodeBox content.