Below there are various example pages of product comparison in multiple layouts and with different CSS frameworks.
Product Compare is a library for making product features comparisons quickly and easily. It is written in modern ES6 JavaScript + TypeScript and doesn't have any external dependencies. Any CSS framework can be used for styling.
HTML Layout
The library has a flexible HTML layout that supports any CSS framework.
Data Types
It's possible to compare by different data types: text, HTML, and numbers.
Case Sensitivity
Case-sensitive and case-insensitive comparison is supported.
Regex Support
It's possible to use regex to ignore special characters.
Gallery
Responsive and touch-enabled gallery with the modern Web Animation API.
Storage Solutions
There is local storage, session storage, and cookies support.
Documentation
Great and extensive documentation is included.
Multiple Instances
It's possible to have any number of library instances on the same page.
Cutting-Edge Tech
The library is written in TypeScript + ES6 JS and uses modern Web Animation API.
The library supports the following data types:
The library supports storage to save the current state and restore it after page refresh or when the back button is pressed.
The library contains a responsive and touch-enabled gallery with the modern Web Animation API effects.
The library comparison table is fully customizable and mobile-ready.