Layout
The Widget Builder uses three core technologies for creating widget layouts. Together, they let you build anything from a simple text display to a fully interactive, data-driven widget.
Technologies
| Technology | Purpose | Learn more |
|---|---|---|
| HTML | Structure your widget's content using standard HTML elements | HTML Guide |
| Handlebars | Add dynamic content, conditionals, loops, and data binding | Handlebars Guide |
| Tailwind CSS | Style your widget with utility-first CSS classes | Tailwind CSS Guide |
Layout Context
Your widget layout has access to several data objects -- settings, API response data, user information, page context, and custom variables. See the Layout Context reference for all available properties.
Quick Example
Here's a minimal widget layout combining all three technologies: