---
title: contentSlot
description: 'The slot that renders `element`, or `undefined` for plain markup.'
updated_at: '2026-11-19T09:51:44+01:00'
created_at: '2026-11-12T12:04:45+01:00'
symbol:
  kind: function
  name: contentSlot
  signatures:
    - >-
      contentSlot(element: Element):
      [[reference/api/plugins/content/ContentSlot-type|ContentSlot]] | undefined
  parameters:
    - name: element
      type: Element
  returns:
    type: '[[reference/api/plugins/content/ContentSlot-type|ContentSlot]] | undefined'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugins/src/content.ts#L99
---

# contentSlot
