# Linear-inspired UI/UX reference

This is a reusable visual and interaction reference for designing a website or application. It describes **how the interface should work and feel**, not what product to build. It does not supply a startup idea, product name, audience, feature set, sample data, technology stack or authorization to implement anything.

## 1. Choose the product context separately

Use the user's supplied startup idea, audience, goals, content, brand and approved requirements first. A product can be a booking service, research tool, finance application or something else entirely. Map this reference to that product's actual primary task. Missing details in an existing idea are questions to resolve, not a reason to replace it with an example product.

Preserve an explicitly selected design system or brand. When no visual direction was supplied, propose the dark application direction below. Reuse the layout and interaction principles even when an approved brand requires different colors or typography. Ask about a material conflict through the client's native options UI, unless the user already delegated that choice.

## 2. Visual source and interpretation

The reference is the **product application UI** shown in Linear's [Behind the latest design refresh](https://linear.app/now/behind-the-latest-design-refresh), rather than its marketing hero. Inspect the actual screenshots or user-supplied reference images when available. If you cannot inspect them, say so and use this written specification as a reference; never claim fresh visual inspection from the link alone.

Borrow three structural principles:

1. **Navigation on the canvas, work in an inset panel.** Keep the product identity and navigation on the darkest surface, with the primary task in a slightly lighter workspace.
2. **Selection through a surface change.** Muted inactive navigation becomes brighter on a subtly raised selected row. Avoid a flood of accent color.
3. **Refined detail.** Use compact but readable controls, restrained icons and low-noise separators. Express polish through alignment and hierarchy rather than decoration.

Keep the user's own name, logo, assets and workflow. Do not copy Linear's branding or add project-management controls, analytics, filters, feeds or side panels merely to resemble its screenshots.

## 3. Adapt the composition to the task

Classify the surface before choosing a layout:

| Surface | Primary composition | What earns space |
| --- | --- | --- |
| Reading or evidence review | One centered reading column, about 66ch maximum | Content first; supporting evidence close to the claim |
| Booking or completing a transaction | A clear action sequence with the current choice visible | Availability, price, requirements and confirmation |
| Editing or managing work | Main workspace with navigation and optional secondary context | Controls needed for the actual task |
| Marketing or product introduction | A product-specific composition and clear next action | Audience, value, evidence and one primary action |

A landing page does not need an application sidebar. An application does not need a marketing hero. A details rail is useful only when the task needs simultaneous comparison. Avoid generic card mosaics and permanently empty panels.

## 4. Starting visual tokens

These are proposed local tokens, **not measured or official Linear tokens**. Tune them to the selected brand and check contrast. Do not overwrite an approved design system just to adopt these defaults.

| Role | Starting value |
| --- | --- |
| Canvas | `#08090B` |
| Workspace | `#101114` |
| Raised surface | `#18191F` |
| Hover surface | `#1E2027` |
| Evidence highlight | `#1B1D2C` |
| Decorative border | `#292B33` |
| Field/control border | `#6B6F7C` |
| Primary text | `#F2F3F5` |
| Secondary text | `#A1A4AE` |
| Metadata text | `#8A8F98` |
| Accent fill | `#5E6AD2` |
| Accent text and focus | `#9AA2F5` |
| Text on accent | `#FFFFFF` |
| Error text | `#F2777B` |
| Text selection | `#2B3166` |

Use crisp sans-serif typography. Geist with Geist Mono for dates and source metadata is one concrete pairing. A system font can be a fallback, not a claim that the intended face was loaded. Use 17px reading text at about 1.65 line height, readable 15–16px navigation, and at least 16px for important explanatory copy. Smaller control labels and metadata must remain legible and meet contrast requirements.

Use a 4px spacing grid, controlled 4–8px corner radii and three distinct surface levels. A desktop sidebar around 248px and an inset workspace around 8px from the window edge are starting choices for an application, not mandatory dimensions for every website. A reading measure is a maximum, never a fixed width that causes overflow.

The default direction is cool and precise, with no decorative glow, gradients, broad shadows, ornamental icon tiles or repeated oversized rounded cards. Do not make text dim to mimic a screenshot. Theme selection, caret, focus, scrollbars and hover states as part of the system.

### Paint every structural surface explicitly

CSS background colors are not inherited. A dark background on `html` alone can make a transparent body and sidebar look correct in a standalone browser while a light canvas shows through in an embedded preview. Set the approved canvas color directly on the body, app shell and sidebar, and the workspace color on the main panel. Keep theme variables scoped to the preview root where appropriate so surrounding page styles do not supply or accidentally redefine its theme.

For a dark application using the starting tokens, this is one concrete pattern; adapt the selectors and approved colors to the actual mockup:

```css
html {
  background: #08090B;
  color-scheme: dark;
}
body,
.mockup-shell,
.mockup-sidebar {
  background: var(--mockup-canvas, #08090B);
  color: var(--mockup-text, #F2F3F5);
}
.mockup-workspace {
  background: var(--mockup-workspace, #101114);
  color: var(--mockup-text, #F2F3F5);
}
```

Include the sidebar's identity, inactive navigation text/icons, selected row, hover/focus states, footer and mobile navigation in the contrast review. Transparent inactive buttons can sit on a known opaque navigation surface; a structural sidebar must not depend on the host's background. Use the approved palette rather than forcing dark colors onto a product with an explicitly selected light theme.

## 5. Reusable flow and state patterns

| Moment | Specify in the product's own terms |
| --- | --- |
| First use | Product purpose, selected context, one obvious next action and a truthful example if needed |
| Input | Visible labels, allowed formats, limits, retention and capability boundaries before substantial effort |
| Loading | Stable action placement, explicit progress, disabled dependent controls and an accessible announcement |
| Success | The user's result as the visual anchor, with supporting context and an evident next step |
| Partial or unknown | What is known, what is missing and a useful recovery path; never invented completeness |
| Error | The problem beside the relevant input, retained entered data and a concrete fix |
| Context changed | Discard stale pending output and make outdated results unmistakable |
| Destructive replacement | Explain what will change, provide a cancel path and preserve current work on cancel |

For evidence-based products, let the user inspect exact supporting material and return to the originating claim. A desktop in-column disclosure and a mobile sheet are possible patterns, not requirements for products without evidence inspection.

Examples must be labeled as previews. A visual transition does not establish a live service, AI connection, payment or completed operation. Keep any suggested next actions disabled until their prerequisites are met, with visible explanatory text rather than a placeholder alone.

## 6. Desktop, mobile and accessibility

Review desktop at **1280 × 900** and mobile at **375 × 812**, plus intermediate widths where the layout changes. Give mobile its own hierarchy, navigation treatment and input recovery. Use fluid content widths, no horizontal page overflow, mobile targets of at least 44px and safe-area-aware actions. Ensure sticky UI does not cover content or become unreachable when the keyboard reduces usable space.

For drawers and sheets, specify focus entry, containment, Escape/Close behavior and return to the opener. Long content scrolls within a bounded sheet while dismissal remains reachable. Use visible field labels, named controls, landmarks, a logical heading order and clear focus. Check normal text contrast at least 4.5:1 and essential control boundaries at least 3:1. Decorative hairlines do not substitute for field boundaries.

Motion should explain location or state: an approximately 200ms ease-out drawer transition and a short evidence highlight are examples. Respect reduced motion; content must remain visible without animation. Real-device keyboard and screen-reader checks are separate evidence, not something a static mockup can claim to pass.

## 7. Review and preview handoff

Use the loaded design-review method for all its required passes. Ask one material decision at a time with descriptive options in the client's native question UI when available, honoring existing answers and delegated recommendations. Preserve unresolved facts as unknown rather than silently borrowing them from another product.

An authorized mockup should show first-use and populated states, relevant loading/error/disabled states, and the chosen desktop/mobile layouts. Keep it separate from application source, use a new artifact path and deterministic product-appropriate examples, and render the actual result.

Before handoff, inspect the whole app shell, not only the main content panel. For an HTML preview, use a disposable fixture with a light host/page background and verify that the approved app surfaces remain opaque in their intended colors. Check computed backgrounds for the body, shell, sidebar and workspace and capture the affected view. Inspect the actual client preview when accessible; a standalone Chrome pass does not prove an embedded viewer uses the same canvas. Keep host-specific behavior unverified when that viewer cannot be inspected. Repair unintended transparent or light surfaces and recheck label/icon contrast at the desktop and mobile layouts before calling the preview complete.

Return real preview paths or links and distinguish plan decisions, fresh inspection evidence and unknowns. Review or preview authorization does not authorize implementation, packages, provider calls, uploads, shared-record changes or deployment.
