Origami Frontend Components & Services

Readme: o-footer-services

o-footer-services is a footer component for internal products and tooling at the FT.


A footer requires the following markup:

<footer class="o-footer-services">
    <div class="o-footer-services__container">
        <div class="o-footer-services__wrapper o-footer-services__wrapper--top">
            <p class="o-footer-services__logo">Origami</p>
            <a class="o-footer-services__icon-link o-footer-services__icon-link--github" href="http://github.com/financial-times/o-footer-services">View project on GitHub</a>
            <a class="o-footer-services__icon-link o-footer-services__icon-link--slack" href="https://slack.com/messages/[id]/">#slack-channel</a>
            <p class="o-footer-services__content">Help or advice can be found here <a href="mailto:an.email@someplace.com">an.email@someplace.com</a> and there are other places, <a class="o-footer-services__content--external" href='/somewhere'>like this one</a>.</p>
    <div class="o-footer-services__container">
        <div class="o-footer-services__wrapper o-footer-services__wrapper--legal">
            <div class="o-footer-services__links">
            <a href="http://help.ft.com/help/legal-privacy/cookies/">Cookies</a>
            <a href="http://help.ft.com/help/legal-privacy/copyright/copyright-policy/">Copyright</a>
            <a href="http://help.ft.com/help/legal-privacy/privacy/">Privacy</a>
            <a href="http://help.ft.com/help/legal-privacy/terms-conditions">Terms & Conditions</a>
        <p><span>&copy; THE FINANCIAL TIMES LTD 2019.</span> FT and 'Financial Times' are trademarks of The Financial Times Ltd.</p>

All elements within the .o-footer-services__wrapper--top section are entirely optional. You can find examples of the variations in the registry.

As a move to future proof this component and the products that may use it, .o-footer-services__wrapper--legal is not optional.


To output all o-footer-services CSS call oFooterServices().

@include oFooterServices();

To keep your CSS bundle size small, include o-footer-services features granularly using the opts argument.
E.g. to output styles with a project logo but without the default icon link to Github:

@include oFooterServices($opts: (
    'logo': 'ftlogo-v1:origami',
    'icons': ('slack')

All options include:

Option Description Brand support
logo A logo from the image service to include in the footer (e.g. ftlogo-v1:origami). master, internal, whitelabel
icons A list of social share icons to include links for, defaults to '('slack', 'github')`. master, internal, whitelabel

Your project should call oFooterServices once, and add to the opts argument when new features are needed. However, if oFooterServices is called multiple times, for example for code splitting across multiple bundles, the $include-base-styles argument may be set to false to ommit fundamental base styles required by all options.

// Output o-footer-services with no icons.
@include oFooterServices($opts: (
    'logo': 'ftlogo-v1:origami',
    'icons': ()

// Include o-footer-services icons separately,
// without repeating base styles output above.
// This is *not* recommended.
@include oFooterServices($opts: (
    'icons': ('slack', 'github')
), $include-base-styles: false);


State Major Version Last Minor Release Migration guide
✨ active 3 N/A migrate to v3
⚠ maintained 2 2.2.0 migrate to v2
╳ deprecated 1 1.0.2 N/A


If you have any questions or comments about this component, or need help using it, please either raise an issue, visit #ft-origami or email Origami Support.


This software is published by the Financial Times under the MIT licence.

Support Status
Switch component view

GitHub Repository

Install o-footer-services

If using the Build Service, add o-footer-services@^3.0.0 to your link tag.

If running a Manual Build, run bower install --save "o-footer-services@^3.0.0".

Help & Support

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

Slack: #ft-origami
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: #ft-origami
Email: origami.support@ft.com