Based on the image you provided, it looks like you want to create a custom user interface (UI) widget or component for a software application or website.
There are various ways to create UI components like the one you have shown, depending on the programming language and framework you are using. You may want to consider using a UI library or framework to make the process easier.
Some popular UI libraries and frameworks you could use to create this type of component include:
Angular - A full-featured framework for building web applications that includes a powerful templating system and support for custom components.
Flutter - A mobile app development framework by Google that uses the Dart programming language to create fast and customizable UI components.
In addition to these libraries and frameworks, there are also many UI component libraries and plugins available that can help you create custom components quickly and easily. For example, Material-UI is a popular UI component library for React.js that offers a wide range of pre-built components and styles.
Ultimately, the best approach for creating your custom widget will depend on your specific requirements and the technology stack you are using. If you provide more information about your project and technology stack, I may be able to offer more specific guidance.