Skip to main content

Object Display Templates

Object Display templates define how your Sui objects appear in wallets, explorers, and other clients. Each template maps a display property (for example, name, description, image_url) to a format string that references fields on your object using {field_name} syntax.

The interactive tool below lets you experiment with Object Display V2 templates. You can modify template values and see how different field references and formatting options affect the rendered output.

How to use the preview tool

  1. Select an object type from the available options in the tool.
  2. Edit the template values to change how the object renders. Use {field_name} syntax to reference object fields.
  3. The preview updates in real time as you modify template values.

Common template properties

Display templates typically include the following properties:

PropertyPurposeExample value
nameObject title shown in wallets{collection_name} #{number}
descriptionObject descriptionA collectible from the {collection_name} series
image_urlPreview image URLhttps://example.com/images/{image_id}.png
linkURL to the object's detail pagehttps://example.com/items/{id}
project_urlProject homepagehttps://example.com
creatorCreator name or addressExample Studio

For the full reference on creating and managing displays programmatically, see Using Object Display.