{"title":"first - Liquid Filter Reference","slug":"first-filter-reference","url":"https://support.storeconnect.com/articles/first-filter-reference","url_markdown":"https://support.storeconnect.com/articles/first-filter-reference.md","subtitle":null,"summary":"Returns the first item from a list. Use `first` to quickly access the opening element without looping through the entire collection.","type":"Developer_Documentation","video_url":"","keywords":"liquid, filters, first, lists, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nReturns the first item of an list.\n\n| Property | Value |\n|----------|-------|\n| **Return Type** | any |\n| **Category** | lists |\n\n## Examples\n\n\n```liquid\n\n{{ \"Mary had a little lamb.\" | split: \" \" | first }}\n```\n\n\n**Output:** `Mary`\n\n\n```liquid\n\n{{ an_list | first }}\n```\n\n\n**Output:** `earth`"}