Quick start
Add Fluxdown to a React app and pass it Markdown. Common syntax, code highlighting, copy buttons, and base styles are already included.
Install
Your project needs React 18 or 19.
Render your first message
If your bundler does not load the component styles automatically, import them in your app's global style entry:
Connect streaming text
If your request library already gives you the accumulated text, pass it to text and use the request status to control streaming:
text always contains the full message received so far. When the request finishes, set streaming to false to show the complete result and end the streaming effects.
Next steps
- Streaming content: connect a stream and adjust the reveal and trailing effects.
- Styling guide: match your app's colors, typography, and layout.
- Configuration: explore all props, syntax switches, and configuration forms.
- Using and writing plugins: add your own components and interactions to code blocks, links, and more.