Origami Frontend Components & Services

Demos: o-overlay

Modal overlay

Standard modal. Includes a close button in the top left so the user can dismiss the overlay.

Modal fullscreen overlay

Fullscreen modal. The user can dismiss the overlay with the close button or back button.

Modal without close button

Modal without a dismiss button in the top right. This should be used where the user has to make a choice or confirm they've seen something.

An overlay that is nested in the page

O-overlay can also be used to create overlays that don't sit in the front centre of the screen but appear in a specific area.

<div class="content">
	<div class="blur left">

		<h2>What is Lorem Ipsum?</h2>

		<h2>Why do we use it?</h2>
		<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &apos;Content here, content here&apos;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &apos;lorem ipsum&apos; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>
	<div class="right-rail">
		<p>Hello! this is the right rail</p>
Switch component view

GitHub Repository

Install o-overlay

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

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

Help & Support

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

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

Feedback / Issues


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