Skip to main content
⭐️ If you love EventCatalog, give it a star on GitHub. Thanks!

Using components

EventCatalog uses MDX under the hood. This gives you the ability to include predefined components inside your contents.

You can add components to your domains, services or messages.


You can include any component inside the markdown content. This example renders an Accordion component within an event.

id: OrderAmended
name: Order amended
version: 0.0.1
summary: |
Indicates an order has been changed
- dboyne
- msmith
- content: Recently updated!
backgroundColor: green
textColor: green
- content: Channel:Apache Kafka
backgroundColor: yellow
textColor: yellow

## Overview

Event is raised when an order has been changed.

<Accordion title="Learn how to raise this event">
You can run the following command to raise this event.

bin/ --create --topic OrderAmended --bootstrap-server localhost:9092 --partitions 1 --replication-factor 1