All Projects → psolbach → Ordnung

psolbach / Ordnung

Licence: other
The 1kb alternative to Isotope

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ordnung

Driveway
pure CSS masonry layouts
Stars: ✭ 607 (+668.35%)
Mutual labels:  layout-engine, layouts, masonry
Screenadaptationkit
🎨iOS rapidScreen Compatible AdapterKit(Deprecate)
Stars: ✭ 70 (-11.39%)
Mutual labels:  masonry
Lain
Awesome WM complements
Stars: ✭ 716 (+806.33%)
Mutual labels:  layouts
Masonry Layout
An efficient and fast web component that gives you a beautiful masonry layout
Stars: ✭ 43 (-45.57%)
Mutual labels:  masonry
Lcactionsheet
一款简约而不失强大的 ActionSheet,微博、微信和 QQ 都采用了极其类似的样式,完全支持 Swift。
Stars: ✭ 809 (+924.05%)
Mutual labels:  masonry
Nidium
nidium is an ongoing effort for a mobile hw-accelerated rendering engine to create apps and games. Embedding Mozilla JavaScript VM, Google Skia, Facebook Yoga. https://twitter.com/nidiumproject for updates
Stars: ✭ 1,057 (+1237.97%)
Mutual labels:  layout-engine
Hippy
Hippy is designed for Web developer to easily build cross-platform and high-performance awesome apps. 👏
Stars: ✭ 6,234 (+7791.14%)
Mutual labels:  layout-engine
Vue Masonry Wall
A pure vue responsive masonry layout without direct dom manipulation and ssr support.
Stars: ✭ 79 (+0%)
Mutual labels:  masonry
React Xmasonry
Simple, minimalistic and featured native masonry layout for React JS.
Stars: ✭ 62 (-21.52%)
Mutual labels:  masonry
Allkit
🛠 Async List Layout Kit
Stars: ✭ 40 (-49.37%)
Mutual labels:  layout-engine
Autolayout.js
Apple's Auto Layout and Visual Format Language for javascript (using cassowary constraints)
Stars: ✭ 975 (+1134.18%)
Mutual labels:  layout-engine
Nepali Romanized Pro
Nepali Romanized Keyboard Layout with installer for macOS
Stars: ✭ 18 (-77.22%)
Mutual labels:  layouts
Framelayoutkit
FrameLayoutKit is a super fast and easy to use autolayout kit
Stars: ✭ 53 (-32.91%)
Mutual labels:  layout-engine
Egjs Infinitegrid
A module used to arrange card elements including content infinitely on a grid layout.
Stars: ✭ 751 (+850.63%)
Mutual labels:  masonry
Proteus
Proteus : A JSON based LayoutInflater for Android
Stars: ✭ 1,179 (+1392.41%)
Mutual labels:  layout-engine
Flutter Examples
An ultimate cheatbook of curated designs
Stars: ✭ 675 (+754.43%)
Mutual labels:  layouts
Xamcustomlayouts
Xamarin.Forms Custom Layouts - Cards
Stars: ✭ 15 (-81.01%)
Mutual labels:  layouts
Bootstrap4layouts
A Template for Bootstrap 4 based on my Bootstrap 4 Layouts course on LinkedIn Learning
Stars: ✭ 44 (-44.3%)
Mutual labels:  layouts
Discrollview2
[DEPRECATED]Android Library for fancy layouts
Stars: ✭ 79 (+0%)
Mutual labels:  layouts
Vue Horizontal
An ultra simple pure vue horizontal layout for modern responsive web with zero dependencies. (SPA/SSG/SSR)
Stars: ✭ 75 (-5.06%)
Mutual labels:  layouts

Ordnung.js

The 1kb alternative to Isotope.
Does grid column layouts in a jiffy, no globals asked.

Demo

Example

Install

npm install ordnung-js

Download

Usage

JS

var container = document.querySelector('.container');
var ordnung = new Ordnung(container);

ordnung.layout();

HTML

<div class="container">
  <div class="elem"></div>
  <div class="elem"></div>
  <div class="elem"></div>
  ...
</div>

Elements should be of equal width but variable height and float: left.
After layout, the container height will be adjusted to the condensed height of the elements.

CSS

To use Ordnung with media-queries, you need to use a hack for now: Clear the styles on window.resize and call ordnung.layout(). See example.

Compatibility

Ordnung.js uses CSS-transforms to move stuff around. This is a widely supported property, please consult Can I Use for specifics. As we're not implementing a bin packing algorithm, Ordnung only works with equal-width columns, just like many use cases with the original Isotope.

Performance

Plenty fast, albeit at the cost of being a one-trick pony.
Align 1000 elements x 100 runs ➝ median, on an Intel i7-3720QM.

Browser Ordnung ops/sec Other ops/sec
Chrome 46 32.26 10.64
Firefox 41 19.23 0.39
Safari 8 29.41 8.85

License

Ordnung.js is licensed under MIT.
You may use this library at will – if you mention the author.

Credits

Inspired by Isotope by Metafizzy
Made by Paul Solbach

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].