@s-ui/react-list-image

1.16.0 • Public • Published

ListImage

Displays a list of images (where each item corresponds to a sui-image-lazy-load component).

It will be displayed as a continuous grid (the image grid items per line are adjustable to the container's width), allowing to set a limit of the total number of images to show.

Each image may have a custom callback to be called when its onClick event is triggered.

Additionally, if there a more image items than the defined maxItems prop, and the prop showMoreItemsBox is provided,

it will show an extra cover (black background, 65% opacity) over the last` image, allowing as well the definition of a custom callback to be called when this last item is clicked.

By default, the sizes for all image items in the list are set as follows:

  • Each item is 196px width for desktop and tablet screens. The cell gutter is 16px, except in the case of tablet screen where only horizontal gutter is expanded to 30px.
  • Each item is 50% width for mobile screens (cell gutter of 16px).

/@s-ui/react-list-image/

    Package Sidebar

    Install

    npm i @s-ui/react-list-image

    Weekly Downloads

    0

    Version

    1.16.0

    License

    MIT

    Unpacked Size

    18.4 kB

    Total Files

    11

    Last publish

    Collaborators

    • alejandro.ferrante
    • ivanmlaborda
    • salvador.juan
    • andresin87.adevinta
    • izeller
    • gfabregoadv
    • a.ferrer
    • ignacio_navarro
    • oscar_ramirez
    • jordi.munoz
    • joanleon-adv
    • aitor.rodriguez
    • luis-garrido
    • jenifer.lopez
    • isabelgomez87
    • pa.chruscinski.ext
    • schibstedspain
    • alfredo.arronte
    • belen.santos
    • xavi_ballestar
    • ferrangbtw
    • jamile.radloff
    • davidmartin2108
    • sergi.quintela
    • estefania_garcia
    • carlosvillu-adevinta
    • miriam-gil
    • arnau.guell
    • ferran.simon
    • victor.perez.adevinta
    • mariapaula.forero.ext
    • oscar.gomez
    • david.nieto
    • oriol.puig
    • nacho_torrella
    • xavi.murcia
    • ignacio.rodriguez
    • francisco.ruiz.lloret
    • sziauberyte
    • alfredo.zimperz
    • andresadv
    • javiauso
    • alverd004
    • marian.lucaci
    • pablogs
    • alisa_bayanova
    • cristhianb
    • sergiocollado
    • pablo.rey-adevinta
    • beatrizip
    • alex.castells
    • david.cuadrado.ext
    • giovanny.sayas.ext
    • patricio.sartore
    • azahara
    • marc.benito
    • sergio.escano
    • cristina.rodriguez.duque
    • pol.valls
    • frandelacasa-adevinta
    • carolina.mallo.ext
    • daniel.perez.ext
    • hpintos_adevinta
    • carlos.gonzalezl
    • albert.peiro
    • oscar-raig-adevinta
    • thomas.page.ext
    • sebastian.badea.adevinta
    • victoria.pasichnyk.ext
    • sendami.luque.ext
    • luz_adv
    • alfredo.narvaez
    • ruben-martin
    • dann41
    • emiliovz
    • adria.velardos
    • arturo.vicente
    • diegomr
    • sergi.martinez.adevinta
    • guillemgc3
    • frontend-jobs
    • javiermiguel
    • atilioscolaroadv
    • crotundu.adevinta
    • candymd
    • florinz
    • denis_z
    • anya_ok