The interface

A top-to-bottom tour of the chrome: sidebar, doc toolbar, side panels, mobile bottom nav. Every label, icon, and button verified against the live app.

7 min read

The sweetdocs UI has three parts, left to right: the sidebar, the main pane, and any side panel you’ve opened on the right.

My Documents

Pinned

  • kyoto-trip

Documents

  • Travel
  • kyoto-trip
  • Osaka day trips
  • Pricing notes
LLee
kyoto-trip Editing

Kyoto, days 1-3

We land in Kyoto on the 12th and have three full days before Osaka. The bamboo grove at Arashiyama is best at dawn, Fushimi Inari takes a morning, and the Nishiki food markets are worth a slow afternoon.

  • Reserve the dawn slot at Arashiyama.
  • Pre-book the Nishiki food tour for Saturday.

The sidebar

Fixed 240px wide on desktop. Becomes an off-canvas drawer (288px) on mobile, opened from the Library button in the bottom nav. Three stacked sections, top to bottom: a header, a scrollable middle, the profile menu.

  • Logo at the top-left: the sweetdocs lockup at 22px.
  • Action button row. In your Personal library or any team library, the buttons are:
    • + Doc: accent-filled. Creates a new document in the current folder.
    • + Folder: bordered. Creates a folder at the current location. In the org library list, this changes to + Library.
    • Upload: icon-only (up-arrow). Picks files from your computer; supports the same formats as drag-drop (see Importing files).
    • Gear: org mode only. Jumps to the Manage Organization page.
  • Search input: placeholder reads Search this library…. Fuzzy-ranks every doc and folder inside the current library. Up to 30 results. A Search everything → button at the bottom of the results opens the cross-library command palette.
  • Space switcher chip: a full-width bordered chip with a chevron. Click to open the popover with:
    • My documents (personal)
    • Shared with me
    • Each org you belong to, listed below a separator

This part scrolls. Contents change with your current location:

  • Pinned: if you’ve pinned anything, a PINNED header sits at the top followed by your pinned docs. See Pinning documents.
  • .. back button: when you’re inside a nested folder, a chevron-up row at the top takes you up one level.
  • Folder + doc list: the contents of the current location. Folders show first with faFolder (muted), docs follow with their doc-type icon (md / svg).
  • Search results: when you’ve typed in the sidebar search, this list is replaced by ranked results. Clear the search to return to the normal browse view.

Each row in the list is the same shape:

  • Icon (left): folder icon, doc-type icon, or (if pinned) the accent-colored thumbtack.
  • Title (center): truncates to fit. The currently open doc renders in accent color with font-medium.
  • Overflow menu (right, hover-reveal): a three-dot button. Click for the row’s context menu (rename, move, pin, duplicate, delete, share). Double-clicking the row enters inline rename mode.

Profile menu (bottom-left)

Click your avatar + name to open the menu (it opens upward into the sidebar). Items in order:

  1. Profile → /app/settings
  2. Billing → /app/billing
  3. Notifications → /app/notifications (with an accent badge for unread count)
  4. Recycling Bin → /app/recycling-bin
  5. Help & support → /app/help
  6. (separator + org block, if you’re in an org)
  7. Manage [org name] → /app/org/{id}
  8. (separator)
  9. Sign out (turns red on hover)
L
Lee Vaniderstine
  • Settings
  • Notifications
  • Recycling Bin
  • Billing
  • Help
Organisation
  • AManage Acme Co.
  • Sign out

The main pane

The doc you have open. Top-to-bottom:

  1. Doc toolbar: 48px fixed bar (covered in detail below).
  2. Edit-mode stripe: a 2px accent-color bar across the top, only visible in Edit mode.
  3. Banners (when relevant): conflict banner, recovery banner.
  4. Editor / Preview: the writing surface, or the rendered preview, or the version-diff view if you’re previewing history.

The doc toolbar

Left to right, every element:

Left side: breadcrumb + title

  • Breadcrumb path: clickable crumbs separated by ›, sized 10px in mono. When the path is too long for the available width, the middle crumbs collapse to ….
  • Title: text-sm font-semibold. Click to enter edit mode (the field gets a bordered focus state). Press Enter to commit, Esc to cancel. Empty titles fall back to Untitled.

Center: status

  • Presence avatars: up to 4 colored circles overlapping with -space-x-2. Each avatar is 24px with a 2px border. Dedup’d by user id (same person on two devices = one avatar). Overflow shows as +N. See Real-time collaboration.
  • Save status: always visible (from small screens up). Saved ✓ at rest, and otherwise:
    • Saving…
    • Offline. Will save when you reconnect
    • Save failed. Retrying
    • Conflict: needs resolution

Right side: action buttons (left → right)

These are 32×32 icon buttons unless noted. The first two are markdown-only; they don’t show on SVG docs.

  1. Mode toggle (markdown only). The icon switches based on which mode you’re in:
    • In Edit: accent-filled, faEye icon. Title: Switch to Preview (⌘⇧E).
    • In Preview: bordered, faPencil icon. Title: Switch to Edit (⌘⇧E).
  2. Export menu (markdown only). faArrowDownToLine (download) icon. Title: Copy, export, or print. Click for the menu:
    • Copy as Markdown: copies the doc to your clipboard, prepending # title if the body doesn’t already start with an H1. Swaps to Copied ✓ after click.
    • Markdown (.md)
    • Word (.docx)
    • PDF (.pdf)
    • Print…: opens the browser print dialog. See Printing.
  3. Comments (all doc types). faComment icon. An accent badge on the top-right shows the open comment count (capped at 9+). Title: Comments.
  4. History (all doc types). faClock icon. Title: Version history.
  5. AI Author (all doc types). Bordered button with a sparkles icon and the label AI Author (icon only on narrow screens). Title: AI Author (⌘⇧A).
  6. Share (all doc types). Accent-filled button labeled Share (icon only on narrow screens). Title: Share this document.
kyoto-trip LS Editing
Path + titlePeersSaving statusAI

Side panels (right side)

Up to four panels can open on the right. Each is 320px wide on desktop (flex-shrink: 0) and renders as a 60vh bottom sheet on mobile. On mobile, only one panel can be open at a time; opening a new one closes the others. On desktop, multiple panels can stack to the right of each other.

Every panel has the same header structure: an icon, an h2 title, and a close button (faXmark).

Comments panel

  • Trigger: Comments toolbar button or the Esc-closes-it semantic.
  • Header: faCommentDots icon + “Comments” title.
  • Body: A tab strip of Open | Resolved, then a scrollable list of comment threads. A MentionInput textarea at the bottom for a new comment.
  • Interaction: Clicking a comment from the editor scrolls + highlights its thread here.

History panel

  • Trigger: History (clock) toolbar button.
  • Header: faClock icon + “History” title.
  • Body: A timeline of audit entries: each save snapshot, each share event, each public-link toggle. The top entry reads Current if the doc hasn’t changed since.
  • Click a row to preview that version in the editor (the full pane swaps to a VersionDiffView). Click the same row again to exit preview.

AI Author panel

  • Trigger: AI Author button or ⌘⇧A.
  • Header: faSparkles icon + “AI Author” title. A small Clear button appears when there are messages.
  • Body: Quick-action buttons across the top (Improve writing, Make shorter, Fix grammar, Add conclusion, Summarize, Suggest title), then a chat log, then an input box. When the AI returns a diff, Accept and Discard buttons render above the diff.
  • See AI Author for the full panel guide.

Share dialog

Not a side panel; it opens as a centered modal with a dimmed backdrop. Triggered by the Share button. Has two tabs: Invite people (default) and Public link. See Share by public link + Invite by email.

Command palette

Triggered by ⌘K (Ctrl+K on Windows / Linux) from any screen. Renders as a centered card at 20vh from the top with a dimmed backdrop.

  • Quick actions at the top (Create document, Settings).
  • Templates below.
  • Search results: types as you go, searches across every library you have access to (not just the current one).
  • ↑ / ↓ to navigate, Enter to select, Esc to dismiss.

See Command palette.

Mobile bottom nav

On screens narrower than 768px, the sidebar collapses and a 52px bottom bar appears with five icon + label buttons. Left to right:

ButtonIconWhat it does
LibraryfolderOpens the sidebar drawer
Searchmagnifying glassOpens the command palette
Newplus (accent color)Creates a new doc
Inboxbell + unread badgeNavigates to /app/notifications
ProfileuserNavigates to /app/settings

URL structure

URLPage
/appDashboard / home
/app/doc/:idThe doc editor
/app/browseFolder view (alt navigation)
/app/org/:idOrg settings (Members, Groups, Libraries, Audit, Settings, Keys)
/app/settingsProfile + Appearance + API keys + Security
/app/billingPlan + payment + invoices
/app/notificationsAll notifications
/app/recycling-binSoft-deleted docs
/app/helpHelp center
/share/:tokenPublic read-only viewer (no app shell, for sharing)
/invite/:tokenOrg-invite acceptance page
/legal/:kindLegal pages (privacy, terms)

The pages under /app/* are rendered inside the AppShell (sidebar + toolbar + panels). Everything else (/login, /share/:token, /invite/:token, /legal/*) renders without the app chrome.

Keyboard shortcuts at a glance

KeysAction
⌘K / Ctrl+KOpen command palette
⌘⇧A / Ctrl+Shift+AToggle AI Author panel
⌘⇧E / Ctrl+Shift+EToggle Edit ↔ Preview mode (markdown only)
EscClose any open panel or modal

See Keyboard shortcuts for the full list.