Alex retweetet
Alex
30.3K posts

Alex
@MetalHaze
Senior Product Designer (mobile/web/desktop) for an EHR company • He/him • Accessibility Advocate • Design System Architect #BlackLivesMatter
Boston, MA Beigetreten Nisan 2008
5K Folgt1.1K Follower
Alex retweetet

ChatGPT is now available in CarPlay.
The voice mode you know, now available on-the-go.
Rolling out to iPhone users running iOS 26.4+ where CarPlay is supported.

Gui Ferreira@gsferreira
ChatGPT voice mode should be available on Apple CarPlay
English
Alex retweetet

Google Stitch introduced a new concept: DESIGN . md
Like README . md but for design systems. A plain markdown file that LLMs read to generate consistent UI.
An awesome collection of DESIGN . md files inspired by developer-focused websites like Stripe, Vercel, Linear, Notion, Figma and more.
Drop one into your project. Your AI coding agent builds the rest.

English
Alex retweetet

Use masks for your scrollable areas
Use the CSS at-rule `@property` to register stops as animatable values. The browser treats your custom property as a `percentage`, so the mask edges transition smoothly.
Result: scroll lists that fade at the edges, revealing content underneath.
No JavaScript needed.
English
Alex retweetet
Alex retweetet
Alex retweetet
Alex retweetet

Alex retweetet

Latex fans assemble! It's time to use Pretext's expressive controls to improve text readability.
@Somnai_dreams implemented the Knuth-Plass algorithm to reduce reading churn on long paragraphs of text: chenglou.me/pretext/justif…
English
Alex retweetet

My dear front-end developers (and anyone who’s interested in the future of interfaces):
I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at least in concept):
Fast, accurate and comprehensive userland text measurement algorithm in pure TypeScript, usable for laying out entire web pages without CSS, bypassing DOM measurements and reflow
English
Alex retweetet
Alex retweetet

Seems like a good opportunity to share a trick I used on the React Aria website to make headings scale to fit the viewport on mobile, even with SSR.
I used fontkit, a library I wrote 10 years ago to parse fonts and layout glyphs, to measure the width of the heading at build time in the "em" unit.
width = font.layout('DateRangePicker').advanceWidth / font.unitsPerEm
This is a size independent measurement using the font's internal metrics. When multiplied by any font size, you get the pixel width of the text.
To calculate the font size, set this as a CSS variable and divide the target width (100vw minus padding). Clamp to make sure it doesn't get too big or small.
font-size: clamp(35px, (100vw - 32px) / var(--text-width), 55px)
And tada! You have perfectly scaling text no matter the viewport size. 🎉
English
Alex retweetet
Alex retweetet

We're rolling out plugins in Codex.
Codex now works seamlessly out of the box with the most important tools builders already use, like @SlackHQ, @Figma, @NotionHQ, @gmail, and more.
developers.openai.com/codex/plugins
English
Alex retweetet

I’ll be covering how to make the most of this in my livestream on March 31st with Figma!
You can sign up here: fig-events.figma.com/claude-to-figm…

English
Alex retweetet
Alex retweetet

@0mniflux @heart2428soul What if you're meant to create an entirely new vase unlike the other?
English

@heart2428soul sure, you can stitch a broken vase back together, but it will never hold its contents the same way again
English
Alex retweetet
Alex retweetet

Figma MCPの公式のベストプラクティスが書かれているのここか。これに従うだけで、オートレイアウトとか名称の引継ぎができてクオリティあがるの嬉しい
github.com/figma/mcp-serv…
#netadashi
日本語









