/Knowledge/sources/honojs__hono/llms-full/jsx-inserting-raw-html--d650867a0c8b.md
JSX: Inserting Raw HTML - hono-docs
JSX: Inserting Raw HTML Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt inserting raw html Summary To...
JSX: Inserting Raw HTML
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#inserting-raw-html
Summary
To directly insert HTML, use dangerouslySetInnerHTML: tsx app.get('/foo', (c) => { const inner = { __html: 'JSX · SSR' } const Div = })
Content
To directly insert HTML, use dangerouslySetInnerHTML:
app.get('/foo', (c) => {
const inner = { __html: 'JSX · SSR' }
const Div = <div dangerouslySetInnerHTML={inner} />
})
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#inserting-raw-html",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / JSX > Inserting Raw HTML",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 20,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "JSX: Inserting Raw HTML",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}