Package and use fonts

Put font files beside your design package and declare them in dsp.json.
{
  "assets": {
    "fonts": [
      {
        "family": "Worka Sans",
        "weight": 400,
        "style": "normal",
        "path": "fonts/WorkaSans-Regular.ttf",
        "format": "ttf"
      }
    ]
  }
}
Codegen verifies the font path and emits packaged font bytes.
DesktopApp::<AppState, _>::new(App)
    .with_design_system::<AppDesignSystem>(DesignMode::Light)
    .run()
Use the generated typography tokens inside widgets. Avoid assuming a platform font exists.
Fission
A cross-platform, GPU-accelerated user interface framework for Rust. MIT licensed.
Copyright (c) 2026 Fission
Ready to use today. Widget APIs are expected to remain stable; some runtime and shell APIs may change before 1.0.0.
Fission 0.9.2