> For the complete documentation index, see [llms.txt](https://docs.gridmate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gridmate.io/troubleshooting/config-samples/inline-record-card.md).

# Inline Record Card

Paste into **Record Related Components** of a GM grid. See [Grid - Inline Components](/advanced-guides/inline-grid-setup.md#configuration).

```json
[
    {
        "component": "gmpkg:RecordCardComponent",
        "attributes": {
            "title": "Sponsor Details",
            "icon": "standard:contact",
            "targetObjName": "Contact",
            "recordIdField": "gmpkg__Sponsor__c",
            "recordFields": "[\"FirstName\",\"LastName\",\"Title\",\"Email\",\"MobilePhone\"]",
            "showBorder": true,
            "columns": "2"
        }
    }
]
```
