¹⁄₂ design eng @mintlify / https://t.co/effowDDwJo
Shorts
this is a multi-billion-dollar company btw
3,476,013 Aufrufe
built a small simple component for middle truncation based on @𝚌𝚑𝚎𝚗𝚐𝚕𝚘𝚞/𝚙𝚛𝚎𝚝𝚎𝚡𝚝
181,924 Aufrufe
want to increase the click area without messing up your layout? try `:after` with `position: absolute` + `inset: -{value}px` this creates a larger, invisible hit area around the element, making it easier to click without changing the layout
325,491 Aufrufe
final tip for 2025: fix the animation logic for your menu components. it makes the whole experience feel so much faster
137,886 Aufrufe
Sensitive content
This media may contain sensitive content.
if you're building a tree component, avoid dead zones for nested items
101,354 Aufrufe
hear me out you don’t need js to create a marquee animation just a couple of lines of css and duplicated children with `aria-hidden`
159,814 Aufrufe
when you add fade out for the scrollable container, make sure it won't overlap your scroll bar
54,436 Aufrufe
animated icons now can be installed via shadcn CLI 🎉
126,862 Aufrufe
once you see the inconsistent gaps in standard middle-truncation, you can’t unsee them