widgets
  • Guide
  • Features
  • Elements
  • API
  • Showcase
  • Constructor
  • Changelog
    • Guide
    • Install
    • First widget
    • Concepts
    • Apple data transport
    • Doctor
    • CLI
    • Core vs extended
    • Troubleshooting
      • Platform setup
      • Android setup
      • iOS setup
      • macOS setup
      • Windows setup
      • Linux setup
      • Desktop webview
      • Multi-widget
      • Testing your widget
    • Elements
    • Layout elements
    • Text elements
    • Media elements
    • Data elements
    • Interactive elements
    • Spacing elements
    • Style
    • Colors
    • Features
    • Dynamic Island
    • Interactive widgets
    • Live activities
    • Timelines and transitions
    • Remote data
    • Widget updater
    • Instances
    • Conditions, lists and templates
    • Images
    • JavaScript API
    • JS reference
    • Rust API
    • Tauri commands
    • Plugin config
    • Cargo features
    • Environment variables
    • Permissions
    • JSON Schema
  • Showcase
    • Contributing
    • Development guide
    • Render testing (config → geometry / pixels)
    • Visual stand (Level-2 pixels)
    • Linux harness (Docker)
    • Windows surface split
    • Mutation testing
  • Changelog
Features

Images

image supports:

Image sources: symbol, base64, and URL into a widgetImage sources: symbol, base64, and URL into a widget

SourceNotes
systemNameSF Symbols on Apple; drawable / glyph map on Android; placeholder on desktop
dataBase64 (with or without data:image/...;base64, prefix)
urlRemote URL — full on Android/Desktop/Windows; unsupported on iOS/macOS host prefetch today

See Core vs extended for per-platform support.

Edit this page on GitHub

Conditions, lists and templates

Show parts only when data matches, build lists from arrays, reuse parts, localize text.

JavaScript API

Package: tauri-plugin-widgets-api. Types for the widget IR are generated from Rust (guest-js/generated/widget-types.ts) — do not hand-edit them.