johnphamous
@phamous.dev
1.2K followers 64 following 290 posts
a webmaster apprentice
Posts Media Videos Starter Packs
phamous.dev
empty state for vercel agent

- reduced motion variant
phamous.dev
sticky header + border radius changing from 0 to rounded when reaching end of scroll container
phamous.dev
icon transition

- svg
- dashed line is a horizontal line with 3 points
- animate to check by animating 3 points
phamous.dev
corner radii goes to 0 when layout is inset
phamous.dev
foreground with same hue as background instead of neutral so it doesn't look fuzzy
phamous.dev
if the same radius
phamous.dev
border radius smaller for shorter content so it looks similar to longer variant
phamous.dev
structural diffs
phamous.dev
horizontal sticky header to maintain context
phamous.dev
prediction cone/safe triangle

- horizontal buffer increases as pointer approaches nested menu
- caches bounding boxes to prevent reflows
phamous.dev
guidelines for building interfaces on the web

interactions, animations, layout, content, forms, performance, design & copywriting

includes an AGENTS​.md
phamous.dev
nbsp wrapping behavior for non-inline elements
phamous.dev
in-product empty state with personalized example

username is derived from logged in user

this way the user can feel it

x.com/vercel_chan...
x.com/vercel_chan...
phamous.dev
set `scroll-margin-top` on headers for spacing between the header and the top of the viewport
phamous.dev
every section is deep-linkable
phamous.dev
an iteration on @rauno's prior

- reduced motion variant
- preserves text selection
- accessibility tools announce the sentence instead of letter-by-letter
- no enter animation on mount
x.com/raunofreibe...
phamous.dev
set `theme-color` to make the web page seamless with ios safari
phamous.dev
emphasize deep-linked section on load

- css-only, uses `:target` and `:has`
phamous.dev
set html/body background color to match website color so overscroll area blends in
phamous.dev
optically align icon
phamous.dev
without bug