Design Radar
Support
LiveUpdated 2026-11-23 20:18 UTC

Harsh Sharma

Harsh Sharma — Resizable panels that learn your preferred width and snap to it when you resize.

Harsh Sharma is Resizable panels that learn your preferred width and snap to it when you resize.. It is ranked #617 on the Design Radar, in UI component libraries, first seen 9 days ago and shared in 1 post (5.2k views).

Visit imharsh.in

Snappy resizable panels Snappy resizable panels Snappy resizable panels Snappy resizable panels Snappy resizable panels November 2026 Most people have one width they like for a sidebar. They drag it back there again and again, but never to the exact same pixel. This sidebar learns that width and snaps to it. The chart above the window shows how. 1 Remembering where the edge was left Every time you let go, the width is saved as a mark. We never land on the same width twice, so we can't just count widths. Instead, each mark adds a small hill. Marks that land close together stack into a bigger hill. 0 px Weighing newer drags more Your…

What people said about Harsh Sharma on X

#UX 用户临时拉宽或缩窄侧栏后,往往想把它拖回自己习惯的宽度。但每次松手的位置可能差几像素,想回到同一个宽度,就得重新对齐。 为了解决这个问题,作者让侧栏从用户的拖拽记录里学习。每个落点形成一条钟形曲线,相近的落点叠成更高的峰。每新增 5 条记录,旧样本的权重减半,所以新的使用习惯能逐渐取代旧习惯。示例代码还会把间隔不到 2 秒的两次调整视为一次,以最后的宽度为准。 最高峰附近的样本权重合计达到 2.5,才会形成吸附点,大约相当于三次近期且位置相近的调整。建立吸附点后,只要新的最高峰仍在它前后 10 像素以内,且达到权重门槛,就沿用原位置,避免吸附点随每次拖拽来回偏移。…

— @lencx_, 9 days ago · 72 likes · see the post

Alternatives to Harsh Sharma

Harsh Sharma in numbers

FAQ

What is Harsh Sharma?

Resizable panels that learn your preferred width and snap to it when you resize. It was first shared on X 9 days ago and is ranked #617 on the Design Radar.

Is Harsh Sharma free?

It is open source.

Who shared Harsh Sharma?

1 account on X, including @lencx_, in 1 post totalling 5.2k views.

Every post is read and classified by AGK Intelligence: what it is, which market it belongs to, and whether the link is a real tool. 10.8k posts from 5k X accounts over the last 21 days, 3.4k tools, 17 markets. New posts are collected several times an hour and the full ranking is recomputed every hour — last update 2026-11-23 20:18 UTC. Full method.