Skip to content
Dashboard

Streamdown 2.4: More customization, accessibility and custom rendering

DX Engineer
import { Streamdown, type IconMap } from "streamdown"
<Streamdown
icons={{ CheckIcon: MyCheckIcon }}
>
{content}
</Streamdown>

import { createCodePlugin } from "streamdown"
const codePlugin = createCodePlugin({
themes: {
light: "github-light",
dark: "github-dark",
},
})

<Streamdown
dir="auto"
translations={{ copy: "نسخ", copied: "تم النسخ" }}
>
{content}
</Streamdown>

<Streamdown prefix="sd-">{content}</Streamdown>