Setting Window Properties

Meta tags

Fig uses <meta> tags to set window properties.

Set app name

The fig:app tag is mandatory. It will be the default title for your app. It also determines the location (~/.fig/apps/sample-app) where your app saves files when using appwrite or appread .

<meta fig:app = "sample-app">

Set titlebar icon

<meta fig:icon = ""> or <meta fig:icon = "./relative/path/to/icon.png">

Set titlebar color

<meta fig:color = "#ffffff">

The value of fig:color must be a 6 character hex color code. The '#' is optional.

Set default position when opening app

<meta initial-position = "3">

For a list of possible app positions, see Repositioning the Window

Last updated