Turn PDFs and images into interactive, smooth, and mobile-friendly page-flip experiences. Open source, lightweight, and developer friendly.
Core values engineered specifically for developers and modern web applications.
Lightweight footprint, optimized rendering loops, and lazy loading of page assets guarantee lightning-fast loading speeds.
Detects device orientation and automatically splits dual-page spreads into single-page views on mobile viewports.
Written in TypeScript. Ships with first-class type definitions and dedicated wrappers for React and Vue 3.
Why choose FlipbookEngine over other alternatives?
Libraries like Turn.js haven't been updated in 10+ years, rely on jQuery, and lack PDF support. We provide a modern stack (Vanilla/React/Vue), TypeScript, and built-in PDF.js.
Many 3D plugins use WebGL, causing lag on mobile, and charge for PDF support. We deliver lightweight 60FPS CSS performance powered by StPageFlip, completely Open Source.
These platforms charge high monthly fees and cannot be integrated into your code. We give you 100% control to host and embed. (For SaaS, you can use our own Bizeka Catalog!)
Select the target integration method matching your application stack.
// Include script and style from dist folder (Self-Hosted)
<link rel="stylesheet" href="/Content/flipbook-engine.css?v=639299330942269398" />
<script type="module" src="/Scripts/flipbook-engine-loader.js?v=0.5.3"></script>
<div id="viewer" style="width: 100%; height: 600px;"></div>
<script>
const engine = new FlipbookEngine('#viewer', {
allowDownload: true,
showThumbs: true,
primaryColor: '#7367f0'
});
// ALTERNATIVE A: Converted Image Mode (WebP) - Recommended for speed, SEO & low memory
engine.init('/img/00000005_vkdo5jw5mfvtk.pdf', [
{ pageNumber: 1, normal: '/img/normal/doc_58_p1_323102fc3c0840ccb4fe53df914b54d2.jpg', low: '/img/low/doc_58_p1_323102fc3c0840ccb4fe53df914b54d2.jpg', thumb: '/img/thumb/doc_58_p1_323102fc3c0840ccb4fe53df914b54d2.jpg' },
{ pageNumber: 2, normal: '/img/normal/doc_58_p2_da596d91a4c5469ab275994c75815711.jpg', low: '/img/low/doc_58_p2_da596d91a4c5469ab275994c75815711.jpg', thumb: '/img/thumb/doc_58_p2_da596d91a4c5469ab275994c75815711.jpg' }
]);
// ALTERNATIVE B: Direct PDF Mode - Loads and renders PDF client-side using PDF.js
// engine.init('/img/00000005_vkdo5jw5mfvtk.pdf');
</script>
// npm i flipbookengine
import React, { useRef } from 'react';
import { Flipbook, FlipbookRef } from 'flipbookengine/react';
import 'flipbookengine/styles.css';
function CatalogViewer() {
const flipbookRef = useRef<FlipbookRef>(null);
// ALTERNATIVE A: Converted Image Mode (WebP) - Recommended
const pages = [
{ pageNumber: 1, normal: '/img/normal/doc_58_p1_323102fc3c0840ccb4fe53df914b54d2.jpg', low: '/img/low/doc_58_p1_323102fc3c0840ccb4fe53df914b54d2.jpg', thumb: '/img/thumb/doc_58_p1_323102fc3c0840ccb4fe53df914b54d2.jpg' },
{ pageNumber: 2, normal: '/img/normal/doc_58_p2_da596d91a4c5469ab275994c75815711.jpg', low: '/img/low/doc_58_p2_da596d91a4c5469ab275994c75815711.jpg', thumb: '/img/thumb/doc_58_p2_da596d91a4c5469ab275994c75815711.jpg' }
];
return (
<Flipbook
ref={flipbookRef}
pdfUrl="/img/00000005_vkdo5jw5mfvtk.pdf"
pages={pages} // Provide pages for converted WebP mode
allowDownload={true}
showThumbs={true}
/>
);
// ALTERNATIVE B: Direct PDF Mode (Omit pages prop)
// return (
// <Flipbook
// ref={flipbookRef}
// pdfUrl="/img/00000005_vkdo5jw5mfvtk.pdf"
// allowDownload={true}
// showThumbs={true}
// />
// );
}
// npm i flipbookengine
<template>
<!-- ALTERNATIVE A: Converted Image Mode (WebP) -->
<Flipbook
pdfUrl="/img/00000005_vkdo5jw5mfvtk.pdf"
:pages="pages"
:allowDownload="true"
:showThumbs="true"
/>
<!-- ALTERNATIVE B: Direct PDF Mode (Omit pages prop) -->
<!--
<Flipbook
pdfUrl="/img/00000005_vkdo5jw5mfvtk.pdf"
:allowDownload="true"
:showThumbs="true"
/>
-->
</template>
<script setup>
import { Flipbook } from 'flipbookengine/vue';
import 'flipbookengine/styles.css';
const pages = [
{ pageNumber: 1, normal: '/img/normal/doc_58_p1_323102fc3c0840ccb4fe53df914b54d2.jpg', low: '/img/low/doc_58_p1_323102fc3c0840ccb4fe53df914b54d2.jpg', thumb: '/img/thumb/doc_58_p1_323102fc3c0840ccb4fe53df914b54d2.jpg' },
{ pageNumber: 2, normal: '/img/normal/doc_58_p2_da596d91a4c5469ab275994c75815711.jpg', low: '/img/low/doc_58_p2_da596d91a4c5469ab275994c75815711.jpg', thumb: '/img/thumb/doc_58_p2_da596d91a4c5469ab275994c75815711.jpg' }
];
</script>
Explore Bizeka Catalog SaaS platform for cloud-based brochure hosting, drag-and-drop page builder, dynamic link sharing, conversion tools, and advanced catalog analytics.
Explore Bizeka Catalog