# RichText Examples

**Visualization Reference:** undefined

## Basic Rich Text

- **Key:** Basic

```json
{
  "context": {},
  "options": {},
  "dataSources": {}
}
```

## Font Family - Times New Roman

- **Key:** Font Family

```json
{
  "context": {},
  "options": {
    "richTextContent": "<p>This text uses Times New Roman.</p>",
    "fontFamily": "Times New Roman"
  },
  "dataSources": {}
}
```

## Font Size - extraLarge

- **Key:** Extra Large

```json
{
  "context": {},
  "options": {
    "richTextContent": "<p>Extra large text.</p>",
    "fontSize": "extraLarge"
  },
  "dataSources": {}
}
```

## Font Size - custom (30px)

- **Key:** Custom Font

```json
{
  "context": {},
  "options": {
    "richTextContent": "<p>Custom 30px text.</p>",
    "fontSize": "custom",
    "customFontSize": 30
  },
  "dataSources": {}
}
```

## Lists

- **Key:** Lists

```json
{
  "context": {},
  "options": {
    "richTextContent": "<ul><li>First bullet item</li><li>Second bullet item</li></ul><ol><li>First numbered item</li><li>Second numbered item</li></ol>"
  },
  "dataSources": {}
}
```

## Border and Padding

- **Key:** Border

```json
{
  "context": {},
  "options": {
    "richTextContent": "<p>Text with a border and padding.</p>",
    "border": {
      "color": "#4287f5",
      "width": 2,
      "style": "solid",
      "radius": 8
    },
    "padding": 16
  },
  "dataSources": {}
}
```
