HTML

An HTML component is used for inserting images, messages, links and texts on the page, to help document business processes or applications.

Note we have launched a specific library for this components

The library is installed automatically with the latest version of the SDK.

They are used in the same way as before, when called they provide the necessary html code to call s.plt.html().

So now we can use the html components without needing to import the additional library:

s.plt.html(
    order=0,
    html=s.html_components.box_with_button(
        title='HTML example',
        line='integrated in the SDK',
        href='https://shimoku.com',
        background="https://images.unsplash.com/photo-1553356084-58ef4a67b2a7?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=774&q=80",
    ),
)

WARNING for the html methods avoid special symbols such as (, ), [, ] and similar because it could break the look&feel

Thanks to it, it is possible to group HTML elements, components and many charts on a page, like this:

It is possible to use any number of rows.

Changing the Menu Path The menu_path can be modified.

Using the Grid

It is possible to use any number of rows.

Last updated