The Header class in Vizzly is designed to provide a customizable header area for sections within a dashboard. It offers a straightforward way to include titles, enhancing the organization and visual appeal of the dashboard layout.


The Header can be initialized with an optional title string. If no title is provided during initialization, the Header will be created without a title, which can be set or changed later using the setTitle method.

Basic Example

To create a new Header instance in Vizzly, you can use the following TypeScript code:

import { Vizzly } from "@vizzly/services;
new Vizzly.Header();


* Constructs a new instance of the HeaderServices class.
* @param title - An optional title for the header.
constructor(title?: string)
* Sets the title of the header.
* @param title - The title to set.
setTitle(title: string)