Widgets Introduction¶
What is a widget?¶
A widget is a set of components that can be used to build a user interface (UI) smoothly and very quickly. Widgets are build for making development process easier and faster. Widgets are also used to make the UI more beautiful and attractive with a single line of code.
How to use a widget?¶
To use a widget, you need to import it from the fronty.html.widgets
module. For example, if you need to make a login form, you can use the FormWidget
widget. You can simply call the FormWidget
class and add it to your page.