--- title: "Slots | Docs" description: "ZingGrid has slots to insert markup." url: https://www.zinggrid.com/docs/v1/api/slots --- ```text experiment_id: web-retrieval-v1 fixture_id: /docs/v1/api/slots.md mode: provenance representation: markdown origin_response_id: b49e4722ba2bdd2e86cb0f1305d417ed version: 2026-10-21 version_created_at_utc: 2026-10-21T20:42:35.744Z version_nonce: 87f6ed8918491283ad70ca3c551ad661 generated_at_utc: 2026-10-22T21:09:32.895Z response_nonce: 4b88bb9cdc70f854e62fcb65d57c69b8 ``` # Slots Slots are placeholders inside of a component that allows you to insert your own markup. ### ZingGrid | Name | Description | | --- | --- | | (default) | Grid content or configuration that accepts `` elements that are allowed to be manually inserted. | ### ZGButton | Name | Description | | --- | --- | | (default) | Button content. | | `icon` | Button icon. Replaces the default slot. | | `label` | Button label. Use to add a label when using the "icon" slot. | ### ZGCaption | Name | Description | | --- | --- | | (default) | Caption title. | | `message` | Caption title. Use when using a feature that enables caption toolbar ([contextMenu], [search], [staticMenu]). | | `tool` | Caption toolbar, which is added to the rightmost of caption by default. | ### ZGCard | Name | Description | | --- | --- | | (default) | Card content. | ### ZGCheckbox | Name | Description | | --- | --- | | (default) | Checkbox label. | ### ZGColgroup | Name | Description | | --- | --- | | (default) | Colgroup content that only accepts columns (ZGColumns). | ### ZGColumn | Name | Description | | --- | --- | | (default) | Custom column content. | ### ZGData | Name | Description | | --- | --- | | (default) | Data content that only accepts data configuration options (ZGParams). | ### ZGDialog | Name | Description | | --- | --- | | (default) | Dialog body content. | ### ZGFooter | Name | Description | | --- | --- | | (default) | Footer content. | ### ZGHeader | Name | Description | | --- | --- | | (default) | header content. | ### ZGIcon | Name | Description | | --- | --- | | `icon` | Icon content. | ### ZGInput | Name | Description | | --- | --- | | (default) | Content after input field. | | `input` | Content before input field. | ### ZGLoadMask | Name | Description | | --- | --- | | (default) | Loading mask content. | ### ZGMenu | Name | Description | | --- | --- | | (default) | Menu content. Overwrites default menu when `[replace]` is present, else appends to the end of the default menu. Accepts ZGMenuGroup, ZGMenuItem, and ZGSeparator to construct custom menu. | ### ZGMenuGroup | Name | Description | | --- | --- | | `zgMenuGroupItems` | Menu group items that only accepts menu items (ZGMenuItems). | | `zgMenuGroupLabel` | Menu group label. | ### ZGMenuItem | Name | Description | | --- | --- | | (default) | Menu item content. | ### ZGNoData | Name | Description | | --- | --- | | (default) | No data content. | ### ZGPager | Name | Description | | --- | --- | | (default) | Pager content. If used with the other pager slot, the content is placed beneath the other slots. | | `center` | Pager content placed in the center. | | `left` | Pager content placed in the left. | | `right` | Pager content placed in the right. | ### ZGSource | Name | Description | | --- | --- | | (default) | Source content. | ### ZGText | Name | Description | | --- | --- | | (default) | Text value. |