Date picker Meadow — simple, plage et presets
Nature editoriale claire, vert prairie et craie, saisonnalite subtile
Copie le prompt dans le presse-papier, sans quitter la page.
CONTEXT & GOAL
Build the navigation sidebar for Quill, an editorial management suite where newsrooms plan stories, track drafts, and run review workflows. Audience: editors and writers switching contexts dozens of times a day. The sidebar must collapse from 264px to 64px. The signature idea: in collapsed mode, sections don't reduce to bare icons — each section keeps a thin colored vertical spine, stacked like book spines on a shelf, and hovering a spine flies out a floating panel of that section's items. The collapsed sidebar reads as a bookshelf of the newsroom's work.
ART DIRECTION
Warm Swiss editorial: off-white paper background, near-black ink text, one muted accent color per section (never rainbow-bright), hairline dividers. References: Stripe's docs sidebar for its discipline, publishing-house colophons, IA Writer's quiet chrome. The distinguishing quality is the spine metaphor carried consistently: expanded sections show their color only as a 3px left bar on the active item; collapsed mode promotes those bars into the primary visual language.
COLOR SYSTEM
Sidebar background: #F7F5F0. Border-right hairline: #E5E1D8. Text primary: #21201C. Text secondary (section labels): #8A857A. Item hover background: #EDEAE2. Active item background: #E7E2D6, active text: #21201C weight 600. Section spine colors — Content: #B4552D, Team: #3E6B4F, Settings: #5B5E8C. Badge background: #B4552D, badge text: #FFFFFF, badge muted variant (non-urgent counts): #DDD8CC with text #6B665A. Workspace switcher hover: #EDEAE2. Focus ring: #8C6B4F. Collapse toggle icon: #8A857A, hover #21201C. Floating panel surface: #FFFFFF, border #E5E1D8, shadow 0 8px 24px rgba(33,32,28,0.10).
TYPOGRAPHY
Workspace name Inter 14px/20px weight 600. Section labels Inter 11px/16px weight 600, uppercase, letter-spacing 0.08em, color #8A857A. Nav items Inter 13.5px/20px weight 450 (use 400 if 450 unavailable), active weight 600. Badge numerals Inter 11px weight 600, tabular-nums. Floating panel title Inter 12px weight 600 uppercase. Keyboard hint in the collapse tooltip JetBrains Mono 11px.
LAYOUT & GRID
Expanded width 264px, collapsed width 64px, full viewport height, flex column: workspace switcher (56px), scrollable nav area, pinned footer with the collapse toggle (48px). Items: 36px height, 12px horizontal padding, 20px icon, 10px icon-to-label gap, badge right-aligned. Sections separated by 24px, each with its label row (28px). Collapsed mode: icons centered in the 64px rail, each section's items grouped under its 3px colored spine running the group's full height at x=8px. Floating panel: 240px wide, opens to the right of the rail aligned to the hovered group, 8px offset. Mobile (under 768px): sidebar becomes an off-canvas drawer overlaying content with a scrim, always expanded, opened by a hamburger; collapsed mode is desktop-only.
SECTIONS & COMPONENTS
Workspace switcher: avatar (24px, rounded 6px), name "The Ledger — Newsroom", chevron; clicking opens a dropdown listing two workspaces and "Create workspace". Content section items: "Planning desk" (calendar icon), "Drafts" with badge 12, "In review" with badge 4 in the urgent #B4552D style, "Published", "Archive". Team section: "Writers", "Assignments" with badge 2, "Freelance pool". Settings section: "Workflow rules", "Integrations", "Billing". Item states: default, hover #EDEAE2, active with background #E7E2D6 plus a 3px section-colored left bar, focus-visible 2px #8C6B4F ring inset, disabled (a feature gated by plan, "Freelance pool") at 45% opacity with a lock glyph and tooltip "Available on the Newsroom plan". Sections collapse via their label row chevron; collapsed sections hide items but keep badges summed on the section row ("Content 16"). Collapse toggle: bottom row with a double-chevron icon and tooltip "Collapse sidebar — cmd+." showing the mono shortcut; state persists to localStorage. Collapsed rail: 20px icons stacked per group beneath the colored spine; badges shrink to 6px dots (urgent color if any urgent count exists); hovering any group for 150ms opens the floating panel listing that section's items with full labels and badges, keyboard users get the same panel on focus via arrow keys. Empty state: a brand-new workspace shows "Planning desk" only plus a dashed "Add your first section" affordance. Loading state: 6 shimmering placeholder rows while workspace data resolves.
MOTION
Width transition: 264px to 64px over 240ms cubic-bezier(0.4,0,0.2,1); labels fade out over the first 100ms (opacity plus 4px translateX), icons re-center over the full duration — labels vanish before the rail lands so text never crushes. Floating panel: opens with spring stiffness 380, damping 30, origin left-center, opacity 0 to 1 and translateX -6px to 0; closes in 120ms on mouseleave with a 200ms grace period to allow diagonal cursor travel into the panel. Section collapse: height auto-animates 200ms ease-out, chevron rotates -90deg over the same duration. Badge increment: scale pulse 1 to 1.25 to 1 with spring stiffness 500 damping 15 when a count rises. Active item change: the colored left bar slides between items using a shared-layout transition, 180ms ease-out. Reduced motion: width snaps instantly with a 100ms opacity fade for labels, no badge pulse, panel opens with a simple 100ms fade.
TECH & QUALITY
React 18, Tailwind CSS v4, Framer Motion (layout animations for the active bar and width), Radix UI Tooltip and DropdownMenu. Files: Sidebar.tsx, SidebarSection.tsx, CollapsedRail.tsx, FloatingPanel.tsx, useSidebarState.ts. The nav is a nav element with aria-label="Main navigation"; the collapse toggle exposes aria-expanded; in collapsed mode each spine group is a button with an accessible name ("Content section, 16 items, 4 urgent") and the floating panel is keyboard-reachable with focus management. Contrast: #21201C on #F7F5F0 is 14.9:1; badge white on #B4552D passes 4.6:1. All icons carry aria-hidden with adjacent text labels or accessible names.Sidebar de navigation pour Quill, suite de gestion editoriale pour redactions et equipes contenu. Idee signature : le mode replie ne se contente pas d'icones — chaque section garde une fine barre verticale coloree empilee comme des tranches de livres sur une etagere, et le survol deploie un panneau flottant de la section.
Light suisse chaleureux, blanc casse et encre, accents par section facon dos de livres
Force : la métaphore des dos de livres empilés en mode replié, avec panneau flottant au survol, est une idée rare et parfaitement détaillée (couleurs par section, motion, accessibilité). Faiblesse : aucune. Prêt à l'emploi.
Nature editoriale claire, vert prairie et craie, saisonnalite subtile
Monochrome graphite tactile, profondeur par le mouvement plutot que la couleur
Light suisse minimal, blanc et gris neutres, rouge hélvétique en accent unique, précision typographique.