---
title: Create a subtitle widget
slug: configured-commerce/sdk/creating-a-subtitlte-widget
docTags: 
createdAt: 2026-08-05T19:24:04.448Z
---

A page title widget is a widget that can be reused to style a title of a page.

1. Create a new class and derive from **AbstractWidget**.
2. Add members to the class applicable for the custom widget. In this case, a string **Title** property.
3. Decorate the members with the corresponding attribute types. The **Title** property in this example is a textbox.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/ZNIx0KJKEE6ND5st-8Doc-20260722-195250.png)

4. Create a new folder with the same name as the widget in the **\[theme]/Content** folder.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/irsI4sf0TC8AB8MvUZh80-20260722-195250.png)

5. Edit the markup in the view to display the widget

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/GLLhvc_XvcGf0iBfVMbBC-20260722-195250.png)
