AI 분석
카드가 정체성을 유지한 채 곡선 경로로 위치·크기·모서리를 보간하며 재배치되는 레이아웃 전환 데모다.
흰 배경 중앙에 그라데이션 이미지 카드 네 장이 가로 한 줄과 2×2 그리드 사이를 오가며, 하단에 플로팅 컨트롤 바가 고정돼 있다. 카드는 주황·분홍·노랑·초록의 흐릿한 추상 이미지로 채워지고, 컨트롤은 검은 알약형 버튼과 원형 슬로 모션 토글을 연한 회색 캡슐 안에 묶은 구성이다. 전환 중간 프레임에서 카드들이 겹치고 서로 다른 높이로 흩어지며 곡선 궤적으로 이동하고, 크기와 모서리 반경이 함께 보간되는 모습이 보인다. 다시 렌더링하는 대신 같은 요소가 자리를 옮기는 공유 레이아웃 애니메이션을 구현할 때 참고하기 좋다.
minimal · light-mode · soft-gradient
claude-opus-5-5 · 2026-12-03 07:04 · 신뢰도 0.80
원본 트윗
Design Engineering Tip
Make reordered cards keep their identity.
When a layout changes, cards shouldn’t pop into new slots. Keep each item mounted with a stable ID and animate its position, size, and corner radius. The result feels like the interface is rearranging itself not re-rendering.
Add Motion’s arc() to the movement path for a subtle curve. That small deviation from a straight line makes the transition feel more natural and physical.
<motion.div
layoutId={card. id}
animate={{
left: layout.left,
top: layout. top,
width: layout.width,
height: layout.height,
borderRadius: layout.radius,
}}
transition={{ duration: 0.6, ease: "easeOut" }}
>
<img src={card.image} alt="" />
</motion.div>
좋아요 690 · 리트윗 20
x.com/gabriell_lab/status/2089016710745534571