# RichTextComponent

Prints text with the game's colour and style codes, written with the section sign or &. [label](url) is a link that opens through the game's confirm screen.

```java
add(new RichTextComponent(at(new Box("about", 12, 26, 276, 100)),
        "&lBold&r, &oitalic&r, &cred&r. Read the [wiki](https://minecraft.wiki)."));
add(new RichTextComponent(at(new Box("note", 12, 140, 276, 10)), "&9Centred").centered().lines(3));
```

## Variants

- Codes: Every style and the sixteen colours.

Page: https://minuit.dryaides.com/components/richtext.html
