Text widgets are useful for adding labels and non-numerical information to a dashboard. In addition to displaying a simple plain text message, they're also flexible enough to accept a range of HTML tags, including clickable inks and font size adjustments.
Using our Text widget as part of your free Geckoboard account? Unlock all our data sources when you try Geckoboard for free.
Setting up a Text widget
Start by clicking Add widget within your dashboard.
You'll then be given the option to add up to four 'messages' which can be set to Text, Alert or Info.
Adding more than one message to a Text widget will make the widget cycle through several messages, up to a maximum of 4 messages.
Alert and Info will not display any visual indicators after you've clicked the Try new layout button to convert your dashboard to the new layout.
To keep your alerts and info as they were, you'll need to revert back to the old layout.
Adding HTML to your Text widgets
Custom Text widgets and Text widgets can contain a number of HTML tags and attributes that allow you to style the widget as you want.
Allowable tags for Text widgets
Allowable attributes for Text widgets
Adding hyperlinks within a Text widget
You can use the
<a> tag to add a clickable link within a Text widget to another dashboard or any other website.
To create a link that opens in a new tab, use this:
<a href="http://www.google.com" target="_blank">Google</a>
To create a link that opens in the same tab, use this:
<a href="http://www.google.com" target="_parent">Google</a>
Using HTML to adjust the font size
If you're looking to set a particular text size for your number widget, you can use the
<span> tag with applied styling.
<span style="font-size:48px;">Font Size 48</span>