GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

02Chip remove collapse — a row recomputing container width from remaining chip count

Once a chip is removed, the widths and gaps of the remaining chips are re-summed into a new container width, and the whole row narrows to that value.

Best forA chip row showing applied filters, a search-condition summary bar

getBoundingClientRecttransitiongap
Chip remove collapse — a row recomputing container width from remaining chip count
Open in a new tab

02 Chip remove collapse — a row recomputing container width from remaining chip count — Measured area 5.569% · moving frames 11/23Original by GODRICH · SCSS and React ship in the zip · 9 Filter UI Patterns (Panel Slide to Chip Remove)

The post this demo lives in

9 Filter UI Patterns (Panel Slide to Chip Remove) - preview of all 9 demos9 Filter UI Patterns (Panel Slide to Chip Remove)Filter ui hides several small jobs. One of nine recomputes chip-row width once a chip disappears, one scales a badge by See all demos in this post

If you like this effect - similar demos