> For the complete documentation index, see [llms.txt](https://voici.larswaechter.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://voici.larswaechter.dev/examples/styling/font-style.md).

# Font Style

Change the header font style.

You can change the font style of the header. The following options are available:

* bold
* italic
* underline
* uppercase
* lowercase
* upperfirst

```javascript
import { Table } from 'voici.js'

const data = [
  { firstname: 'Homer', lastname: 'Simpson', age: 39 },
  { firstname: 'Marge', lastname: 'Simpson', age: 36 },
  { firstname: 'Bart', lastname: 'Simpson', age: 10 },
  { firstname: 'Lisa', lastname: 'Simpson', age: 8 },
  { firstname: 'Maggie', lastname: 'Simpson', age: 1 }
];

const config = {
  header: {
    uppercase: true,
    underline: true
  }
};

const table = new Table(data, config);
table.print();
```

![Console Output](https://1307571304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOIf17OLFblxkTooTktmI%2Fuploads%2FgFHfpAWFHVRvZmqV1Ct2%2Ffont_style_1.png?alt=media\&token=e2057a35-0fdf-4f47-a4eb-2f6a6872fb16)

{% hint style="warning" %}
Some font styles might not work on all terminals.
{% endhint %}
