Cogent Core Docs

0%

Loading...

Static preview:

Cogent Core DocsWidgetsBasic

Text

Cogent Core provides customizable and selectable text widgets that can display many kinds of text.

You can render plain text:

Hello, world!

You can render long text, which will automatically wrap by default:

This is a very long sentence that demonstrates how text content will overflow onto multiple lines when the size of the text exceeds the size of its surrounding container; text widgets are customizable widget that Cogent Core provides, allowing you to display many kinds of text

You can use HTML formatting in text:

You can use HTML formatting inside of Cogent Core text, including custom styling and links

You can use one of the 15 preset text types to customize the appearance of text:

Hello, world!

You can also use a styler to further customize the appearance of text:

Hello, world!