For the complete documentation index, see llms.txt. This page is also available as Markdown.

Beautiful Titles

Creates text in two levels to comment and separate themes.

WARNING avoid special symbols such as (, ), [, ] and similar in the texts of this component because it could break the look&feel

This component is used to highlight text.

The input variables are:

title: str
subtitle: str

Example of use:

s.plt.html(
    order=0,
    html=s.html_components.create_h1_title(
        title='Easy-to-use AI',
        subtitle='Build a model to predict outcomes!'
    )
)
Use text to highlight topics on your results page and separate themes.

It can be resized and positioned with the use of padding:

You can use to display longer text than 'Artificial Intelligence Tools', note the use of padding='0,0,0,8' to position the component.

More on how to use the Grid.

Video demonstration

Last updated

Was this helpful?