# Equation
No one will think of that a component library should have this component. However a friend of me need this.
Due to package size, Naive UI doesn't include katex. If you want to use Equation, make sure you have setup katex before using it.
The following code shows how to setup katex for Equation.
```html
```
## Demos
```demo
basic.vue
katex-options.vue
```
## API
### Equation Props
| Name | Type | Default | Description | Version |
| --- | --- | --- | --- | --- |
| katex | `object` | `undefined` | Katex | 2.34.0 |
| katex-options | `object` | `undefined` | Katex options for the equation. | 2.34.0 |
| value | `string` | `undefined` | Latex expression of the equation. | 2.34.0 |