Origami Frontend Components & Services

SassDoc: o-assets

o-assets has a support status of "deprecated". This means that no new features will be added to this component, but security-related bugs will be fixed. We do not recommend using this component in new projects. If you still rely on this component or have concerns, please contact the Origami team.


Default global path to assets



Cast the asset map

It should contain pairs such as o-module: path/to/module/assets


oAssetsResolve(asset, module)

Resolve the full path to an asset

parameter type default description
asset path to an asset, relative to the module's root
module name of the module



el { background: url(oAssetsResolve("img/symbols-sprite.png", o-weather)); }



Set asset paths for one or multiple modules

parameter type default description
path-map Set of module names and paths


@include oAssetsSetModulePaths((
  o-header: /assets/header


deprecated Origami v1 (Bower)
Switch component view

GitHub: o-assets

Install o-assets

If using the Build Service, add o-assets@^3.4.9 to your script and link tags.

If using the npm package manager for a Manual Build, run npm install --save-peer "@financial-times/o-assets@^3.4.9".

Help & Support

o-assets is maintained directly by the Origami team. If you have any questions about o-assets or Origami in general, we are happy to help. 😊

Slack: #origami-support
Email: origami.support@ft.com

Feedback / Issues

To report a bug or request features please create an issue on Github. For support or general feedback please get in touch 😊

Slack: #origami-support
Email: origami.support@ft.com