@jsvision/ui / GroupBoxOptions
Interface: GroupBoxOptions
Defined in: ui/src/group-box/group-box.ts:12
Construction options for a GroupBox.
Properties
padding?
readonlyoptionalpadding?:number|Padding
Defined in: ui/src/group-box/group-box.ts:18
Initial content inset in terminal cells. A number applies to every side. Defaults to 1.
role?
readonlyoptionalrole?: keyof Theme
Defined in: ui/src/group-box/group-box.ts:20
Theme role used for the border, caption, and opaque interior. Defaults to 'staticText'.
shadow?
readonlyoptionalshadow?:boolean
Defined in: ui/src/group-box/group-box.ts:22
Whether the renderer adds its standard drop shadow. Defaults to false.
title?
readonlyoptionaltitle?:string| (() =>string)
Defined in: ui/src/group-box/group-box.ts:14
A fixed caption, or a reactive getter whose signal dependencies repaint the box.
titleAlignment?
readonlyoptionaltitleAlignment?:GroupBoxTitleAlignment
Defined in: ui/src/group-box/group-box.ts:16
Caption placement within the top-border interior. Defaults to 'start'.