Interface de chat Parlor — bulles, frappe et reactions
Encre sur papier chaud, calligraphique et humain, loin du chat SaaS froid
Copie le prompt dans le presse-papier, sans quitter la page.
CONTEXT & GOAL
Build the notification system for Harbor, a team collaboration tool combining chat, tasks, and docs. It needs a compact bell dropdown for quick glances and a full dedicated page for catching up, both grouped by date. Audience: knowledge workers who get 30+ notifications a day and need to triage fast without anxiety. The signature idea: every unread notification carries a small colored ink stroke in its left margin — like a handwritten annotation in a paper notebook — that softly fades to grey the moment it's read, so the whole list visually settles as you catch up.
ART DIRECTION
Warm, paper-like, unhurried: cream and taupe surfaces, soft ink accent colors per notification type instead of harsh red badges everywhere, generous line spacing so a wall of notifications never feels like an alert siren. References: Basecamp's calm tone, physical notebook stationery, Notion's understated iconography. This avoids the generic "red dot everywhere" notification anxiety pattern by using color as information (type), not just urgency.
COLOR SYSTEM
Page/dropdown background: #FAF6EF. Card/row surface: #FFFFFF. Border hairline: #E8E0D0. Text primary: #2B2620. Text secondary (timestamp, meta): #8B8272. Ink stroke — Mentions: #C25E3E, Tasks: #3E7C6B, System: #6C6A8C. Unread row background tint: #FBF3E4. Read row background: transparent. Bell badge background: #C25E3E, badge text: #FFFFFF. Hover row: #F3ECDD. Focus ring: #A8895B. Empty state icon: #C9BFA8. Link/action text: #7A5C3E, hover #5E4630.
TYPOGRAPHY
Notification title Inter 14px/20px weight 500. Notification body/preview Inter 13px/19px weight 400 color #8B8272. Timestamp Inter 12px/16px weight 400 color #8B8272, tabular-nums. Date group headers Inter 12px/16px weight 700, uppercase, letter-spacing 0.06em, color #A8895B. Page headline Fraunces 32px/110% weight 500 (only on the full page, not the dropdown, to give it editorial warmth).
LAYOUT & GRID
Dropdown: 380px width, max-height 480px with internal scroll, anchored below the bell icon with an 8px offset, 12px corner radius, 16px padding. Full page: max-width 720px centered, 24px side padding on mobile, single-column list, filters row above the list at 48px height. Row height: dropdown rows 68px compact; page rows 76px comfortable with more preview text. Breakpoints: mobile dropdown becomes a full-height bottom sheet; desktop keeps the anchored popover; the full page is single-column at all sizes since notifications read best linearly.
SECTIONS & COMPONENTS
Bell trigger: 20px icon button, badge shows the unread count (caps at "9+"), badge bounces once on new item arrival via websocket. Dropdown: header "Notifications" with a "Mark all read" text link top-right, list of the 5 most recent items, footer link "View all" navigating to the full page. Full page: three date groups "Today", "Yesterday", "This week" (older items fold under "Earlier" collapsed by default), each group header sticky while its section scrolls. Filter chips row: "All / Mentions / Tasks / System", active chip filled #2B2620 text #FAF6EF, inactive chip outlined #E8E0D0. Notification row anatomy: left margin ink stroke (3px wide, 32px tall, rounded, colored by type) only present when unread; avatar or type icon (32px); title in bold for the actor name plus regular text for the action, for example "Priya Nair commented on Q3 Roadmap: 'Can we push the deadline to the 14th?'"; timestamp right-aligned "2h ago". Task notification example: "Deploy pipeline task assigned to you — Fix flaky checkout test". System notification example: "Harbor will be in maintenance tonight 11pm-1am PT". Hover state: row background #F3ECDD, cursor pointer. Focus-visible: 2px #A8895B outline inset. Read state: ink stroke fades out, background returns to transparent. Empty state: centered message "You're all caught up" with a small checkmark glyph in #3E7C6B and subtext "New notifications will appear here". Loading state: 4 skeleton rows with grey (#E8E0D0) pulsing bars replacing avatar, title, and timestamp. Error state (websocket disconnected): a thin banner atop the list "Live updates paused — reconnecting..." in #C25E3E on #FBF3E4.
MOTION
Dropdown open: slides down 6px and fades in, 220ms cubic-bezier(0.16,1,0.3,1), origin top-right. New notification arrival: row inserts with height 0 to 68px and opacity 0 to 1 over 260ms ease-out, badge count bounces via a spring (stiffness 400, damping 12) scaling 1 to 1.3 to 1. Date group reveal on page load: groups stagger fade-up 60ms apart, each row within a group staggers a further 25ms, total duration capped at 500ms for the visible viewport only. Mark-as-read: the ink stroke's opacity and width animate to 0 over 400ms ease-out, background tint fades over the same duration, giving a settling feeling rather than an abrupt snap. Filter chip switch: active pill background crossfades 150ms, list re-filters with a 150ms opacity swap. Reduced motion: disable stagger and badge bounce, keep only a flat 150ms opacity fade for all state changes.
TECH & QUALITY
React 18, Tailwind CSS v4, Framer Motion for the list transitions and badge spring. Files: NotificationBell.tsx, NotificationDropdown.tsx, NotificationsPage.tsx, NotificationRow.tsx, useNotifications.ts (websocket hook). The bell button has aria-label="Notifications, {count} unread"; unread count updates are announced via a visually-hidden aria-live="polite" region rather than interrupting with assertive. The list uses role="feed" with each row as role="article". Contrast of #2B2620 on #FAF6EF is 13.4:1; ink stroke colors are decorative only, never the sole means of conveying unread status (the background tint duplicates the signal).Centre de notifications pour Harbor, outil de collaboration d'equipe, decline en dropdown compact et en page dediee, avec regroupement par date. Idee signature : chaque notification non lue porte un petit trait d'encre colore dans la marge gauche, comme une annotation manuscrite sur un carnet papier, qui s'estompe doucement une fois lue.
Warm neutrals facon carnet papier, encre douce, chaleureux et feutre
Force : le trait d'encre qui s'estompe à la lecture, façon annotation manuscrite sur carnet papier, est une métaphore chaleureuse bien exploitée jusque dans la microcopie. Faiblesse : le dispositif dropdown + page complète reste un schéma de centre de notifications classique. Pas de changement nécessaire.
Encre sur papier chaud, calligraphique et humain, loin du chat SaaS froid
Light neutre dense façon Vercel, blanc cassé, noir doux, vert émeraude en accent, précision d'outil pro.
Pastel doux et lumineux, degrade d'aube, arrondis genereux, ambiance apaisante