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', 'subbrand', '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', 'subbrand', 'transparent')
include-base-styles (optional) true

Links

Support Status
active
Switch component view

GitHub Repository

Install o-header

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

If running a Manual Build, run bower install --save "o-header@^8.2.1".

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