You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npmx uses `cursor-pointer` only for links. For all other elements, including buttons, use the default cursor (_or other appropriate cursors to show state_).
364
+
365
+
**What counts as a link**
366
+
367
+
A link is any element that change or show meaningful content:
368
+
369
+
-**Not meaningful content:** burger menu, "likes" button - the user does not get substantive information from them.
370
+
-**Meaningful content:** a dialog with a chart, auth button, tabs with new data—they convey new or important information.
371
+
372
+
> [!IMPORTANT]
373
+
> Always prefer implementing such changes as real links so they can be opened in a new tab, shared or reloaded, and so the same content is available at a stable URL.
374
+
359
375
#### Package routes
360
376
361
377
For package links, use the auto-imported `packageRoute()` utility from `app/utils/router.ts`. It handles scoped/unscoped packages and optional versions:
0 commit comments