# XWUITitled

Component for displaying icon, title, subtitle, and body content

## Basic Usage

XWUITitled Component Component for displaying icon, title, subtitle, and body content.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: XWUITitled Component Component for displaying icon, title, subtitle, and body content.
```

## With Icon

Add an `icon` to the data and size it with the `iconSize` config to lead the block with a glyph beside the heading.

```example
file: examples/WithIcon.ts
html: examples/WithIcon.html
title: With Icon
description: A titled block led by a 32px icon next to the heading and subtitle.
```

## Rich Body

The `body` accepts an `HTMLElement` as well as a string, so you can nest arbitrary markup such as a list under the title.

```example
file: examples/RichBody.ts
html: examples/RichBody.html
title: Rich Body
description: Passes a live HTMLElement (a bullet list) as the body instead of a string.
```

```api
```
