Welcome to Modyo's Catalog of Financial Widgets. Here you can find a full description of all the financial experiences provided by the catalog, with information ranging from installation and development in your local environment to the description of interfaces, available parameters and references to the primary functionalities of each widget.
What is a widget?
A widget is a self-contained component that packages its own markup (
HTML), style (
In other words, using widgets as independent pieces to build pages that appear as single, cohesive products is a technique called micro frontends: an architectural style where independently deliverable frontend applications are composed into a greater whole.
Why use a widget from this catalog?
The financial widget catalog is designed to accelerate the development of your digital experiences by providing interactive components for you to customize and assemble into flows that suit your business. Financial widgets out of the box deliver:
- UX designed to facilitate user interaction.
- Basic Accessibility (such as appropriate color contrast, use of legible font sizes, semantic structure, etc.)
- Internationalization and localization of texts and currencies. By default, each widget comes in English and Spanish, but they each have all the necessary infrastructure to adapt to any language or add more languages to suit your business needs. If deployed in Modyo, the widgets automatically detect the language configured within a site or application.
- Validations for forms and dates.
- Easily customizable, flat styles with a downloadable design system here in PDF that uses Sass and popular libraries such as Bootstrap and Font Awesome.
In order to start using the widgets in this catalog, the first thing you need is to install and access the Modyo
CLI (Command-Line Interface):
# if you use `npm` $ npm i -g @modyo/cli # if you use `yarn` $ yarn global add @modyo/cli #via yarn
This should install the latest stable version of the tool globally on your local machine. You can check your installed version of the
CLI with this command:
$ modyo-cli --version
modyo-cli installed you can now create widgets and deploy them on a Modyo site.
However, in order to use the widgets in this catalog, you and your organization need to complete an extra step. You need to obtain a token that will allow you to have access to all the widgets.
Access to Templates
To access the Financial Widget templates, you must have valid access to the repository which is delivered as part of the license agreement.
Now we can download a widget from the catalog using the Modyo
# - The first argument (the widget name) is required # - The second argument, # which allows you to download the widget to a separate folder, # is optional $ modyo-cli get <widget-name-in-the-catalog> <folder-name>
For your convenience, the documentation of each widget includes the command needed to install it.
Each widget comes with several useful
scripts you can access during development:
(yarn|npm) serve: builds the widget in your local environment using
(yarn|npm) build: compiles and transpiles the widget, applying a series of optimizations to be deployed in production. Must always be executed before sending the widget to a Modyo site or application.
(yarn|npm) test:unit: runs the unit tests of the widget.
(yarn|npm) i18n:report: generates a report with all the keys not yet translated.
(yarn|npm) lint:style: runs a style linter to detect errors.
(yarn|npm) modyo-push: sends a compiled widget to a pre-configured Modyo site or application.