Header Component

The Header Component is a stylized, pre-made Module Header that can be used via the header Component.

Properties

  • color - The background color for the Header. Defaults to #000000.
  • icon - An optional Icon to display in the Header. Available Icons can be found here.

Examples

$header = window.casthub.create('header');
$header.icon = 'streamlabs';
$header.color = '#31c3a2';
$header.innerText = 'Top Donations';
$header = window.casthub.create('header');
$header.icon = 'twitch';
$header.color = '#4b367c';
$header.innerText = 'Latest Subscribers';