Origami Frontend Components & Services

SassDoc: o-header

oHeader(opts, include-base-styles)

Output the styles for the header. Can be passed a list of one or more features to output. By default, will output all styles.

parameter type default description
opts (optional) ('top', 'subnav', 'search', 'nav', 'anon', 'drawer', 'megamenu', 'sticky', 'simple', 'transparent')
include-base-styles (optional) true

Links

oHeader(opts, include-base-styles)

Output the styles for the header. Can be passed a list of one or more features to output. By default, will output all styles.

parameter type default description
opts (optional) ('top', 'subnav', 'search', 'nav', 'anon', 'drawer', 'megamenu', 'sticky', 'simple', 'transparent')
include-base-styles (optional) true

Links

Status
active
Switch component view

GitHub: o-header@11.0.4

Install o-header

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

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

Help & Support

o-header is maintained directly by the Origami team. If you have any questions about o-header 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