Hologram Logo

Third Party Libraries

Hologram comes bundled with some built-in third party libraries that you can use.


Vue JS

Because widgets are built using Vue JS, it's included by default.


Day.js

Day.js is a library that lets you format dates and time:

dayjs('2018-08-08') // parse
dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // display
dayjs().set('month', 3).month() // get & set
dayjs().add(1, 'year') // manipulate
dayjs().isBefore(dayjs()) // query

See the Day.js Docs for more info.


Tiny Color

Tiny Color can be used to manipulate colors within your widgets:

tinycolor('#f00').darken().toString();

See the Tiny Color Docs for more info.