Skip to content

kaskaid

Virtualized masonry layout for React, powered by @tanstack/virtual.

Overview

import {  } from 'kaskaid';
 
const  = [200, 600, 200, 400, 100, 100, 50, 200];
 
<
  ={}
  ={{ : . }}
  ={() => []}
  ={({ ,  }) => (
    <
      ={{
        : ,
        : '#F47067',
        : 'white',
        : 'flex',
        : 'center',
        : 'center',
      }}
    >
      {}
    </>
  )}
/>;
0
1
2
3
4
5
6
7