You can add your text directly in the cation
Hi Pragati,
For displaying data it's not advised to use widgets.Those are only used for input. Best solution is to use the text like Javith explained or a marketplace module.
It is possible to make a custom widget with documentation below. But you do need to have a understanding of JavaScript. https://docs.mendix.com/howto8/extensibility/widget-development/