> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get item label

> Gets only the label (display name) of an item. A simpler and faster alternative to getStaticItem when you only need the item's label.

Gets only the label (display name) of an item. This is a simpler and faster alternative to `getStaticItem` when you only need the item's label.

<CodeGroup>
  ```lua Export theme={null}
  exports['jaksam_inventory']:getItemLabel(itemName)
  ```

  ```lua Example theme={null}
  local label = exports['jaksam_inventory']:getItemLabel('bread')
  print(label) -- Bread

  -- Item not found returns nil
  local notFound = exports['jaksam_inventory']:getItemLabel('invalid_item')
  print(notFound) -- nil
  ```
</CodeGroup>

### Parameters

| Name       | Data Type | Description                               |
| ---------- | --------- | ----------------------------------------- |
| `itemName` | string    | The name of the item to get the label for |

### Return value

| Name    | Data Type     | Description                                                           |
| ------- | ------------- | --------------------------------------------------------------------- |
| `label` | string \| nil | The label (display name) of the item, or nil if the item is not found |


## Related topics

- [Get item label](/jaksam-inventory/functions/server/get-item-label.md)
- [Shared](/jaksam-inventory/functions/shared/index.md)
- [Server](/jaksam-inventory/functions/server/index.md)
- [Get static item](/jaksam-inventory/functions/shared/get-static-item.md)
- [Get static items list](/jaksam-inventory/functions/shared/get-static-items-list.md)
