Creating a starter project
You are reading the NextGen Documentation
NextGen widgets are a new and improved way to display UGC content onsite.
From September 23rd 2025, all new widgets created will be NextGen.
Please check your widget version on the Widget List page to see if it is a Classic or NextGen widget.
You can read the Classic Widget Documentation here.
Note: This feature is unique to NextGen widgets
Starter project activity
This project has been created with the sole purpose of:
Allowing you to see what is possible with widgets
A space for you to follow the activity provided to learn about how you can customise widgets with ease
What you will learn
How to adjust styles for inline tiles & expanded tiles
How to adjust templates for inline tiles & expanded tiles.
How to hook into emitted events
How to apply dynamic css variables
Getting started with the activity
You will notice this widget is bouncing. Please stop the circle from bouncing.
Why is the widget in a circle? Please remove the circle and ensure it is in a grid format, covering the entire screen.
The border of the circle is based on the mood given to the method. Please update it so that it is using 'nosto' mood with a pink border to represent Nosto.
Every time I expand a tile, a dog appears. Please change this to the actual tile image.
Every time an event is emitted, a toast message appears, please remove this.
A successful attempt at this activity will be something like the following.

Answers:
To stop the circle from bouncing, remove
@keyframes bounce { }
in extras.scssTo remove the circle, remove the
border-radius
property inextras.scss
To update the border color to the Nosto mood, update the
"--my-mood-border"
variable in the widget.tsx file.To change the dog image to the actual tile image, update the
tile.template
file to instead use thetile.image
property.To remove the toast message, remove the eventListener in widget.tsx
Last updated
Was this helpful?