class Box
extends Component
import { Box } from "https://deno.land/x/tui@2.1.11/src/components/box.ts";
Component for creating simple non-interactive box
Examples
Example 1
Example 1
new Box({
parent: tui,
theme: {
base: crayon.bgBlue,
},
rectangle: {
column: 1,
row: 1,
height: 5,
width: 10,
},
zIndex: 0,
});
Properties
drawnObjects: { box: BoxObject; }