Box Dev DESIGN.md デザインシステム & スタイルガイド
Developer ToolsProv1.0.0 (最新)Box Dev のデザインシステムは ブルー(#0061D5)をプライマリカラーに、Inter・Paper Mono を書体に使っています。この DESIGN.md には developer.box.com から取った 18 色と 105 個のデザイントークンが入っています。
Box's developer documentation portal, built as a three-pane reference for the whole Box API with Box blue actions and inline Paper Mono code.
Box Dev の完全なデザイン解説と最大 8 色のプライマリカラーは無料で閲覧できます。Pro にアップグレードすると全 105 件のデザイントークン、完全な DESIGN.md ダウンロード、1 件の改訂履歴を利用できます。
DesignMD Pro にアップグレードすると、すべてのカラーを :root CSS variables としてコピーし、コンポーネントのトークン参照を確認して完全なソースファイルをダウンロードできます。
デザインガイドライン
Overview
Box Dev is a documentation product, not a marketing site, and it is designed like one: the whole interface is optimized for scanning a very large API surface quickly. The mood is neutral, precise and unfussy — white surfaces, a single saturated blue, and almost no decoration. The homepage is built around a task router ("I want to…") whose six cards each name an outcome in plain language ("Connect AI agents", "Automate invoice intake", "Build an AI-powered DAM"), while the API reference page is a three-pane reading environment with a long alphabetical resource index down the left, the page content in the middle, and an "On this page" table of contents on the right. Density is high but never cramped: 20px gutters, 4px spacing increments, and generous 32px section gaps. Imagery is minimal — a handful of small blue line icons inside the outcome cards and the flat "boxDEV" wordmark — because the real content is code, and code gets the most visual real estate on the page.
Colors
The palette is defined once as space-separated RGB triplets on :root — --primary: 0 97 213, --primary-dark: 0 41 71, --primary-light: 246 250 253, and a thirteen-step --gray-50 … --gray-950 ramp — and consumed through Tailwind's rgb(var(--…)) indirection.
- Box blue
#0061d5is the only saturated color and carries every action: the "Get started for free" pill, the active sidebar row, the underline on the current top-nav item, and inline links. It is never used for large background fills. #002947(--primary-dark) is the hover/pressed state for primary actions and the darkest blue in the system;#f6fafd(--primary-light) is the tint behind the selected navigation row.#0550aeis the link color inside long-form prose, one step darker than the UI blue so it stays legible at body size on white.- Text greys run from
#16191d(headings) through#3e4145(body) to#6f7276(metadata, nav labels, placeholders). Everything readable is a grey, never pure black. - Surface greys separate the three panes: white for content,
#f2f5f9for the left index,#eef0f4for chips and code-block toolbars, and#e8edf2for code itself. - Semantic tints are reserved for callouts and badges:
#eff6ff/#1e40affor informational notes,#fefce8/#854d0efor warnings, and a green#16a34a"New" pill that appears next to freshly shipped endpoints. Borders are#dee1e5, or a 10%-black hairline on card outlines.
Typography
Two families, both self-hosted variable fonts: Inter (100–900) for everything readable and Paper Mono (100–800) for anything a developer will copy. Both are wired through --font-inter and --font-paper-mono and fall back to the platform stack.
- Headings are semibold (600) and negatively tracked at
-0.025em: page titles at 32px/40px, section headings at 24px/32px, subsections at 20px/28px, and card titles at 16px/24px. Nothing on the site is bolder than 600. - Body copy is 16px at 1.75 line-height inside prose blocks and cards, dropping to 14px/1.43 for navigation, metadata and table cells. The hero lead paragraph is 18px.
- Buttons and labels are 14px semibold (buttons, active nav rows) or 12px semibold (the smallest eyebrow labels).
- Code is Paper Mono at 16px inside fenced blocks and 14px inline, where it also gets weight 500 so
https://api.box.com/2.0stands out mid-sentence. Inlinecodeandkbdelements are the only places the mono family appears.
Layout
A fixed three-column shell inside a 1472px container with 20px gutters. The left pane is the documentation index (a long, alphabetical, collapsible tree of every API resource), the center column is capped at 1152px, and the right pane is a sticky "On this page" table of contents that highlights the current section. The top navigation is a 96px transparent bar holding the wordmark, six section links, a search pill and an "Ask Assistant" pill on the left, and "Log in" plus a filled "Get started for free" pill on the right. The homepage replaces the index with a centered hero and a responsive auto-fill grid of six outcome cards. Everything is built on a strict 4px spacing scale (Tailwind's --spacing: .25rem), so every gap, padding and margin on the page is a multiple of 4.
Elevation & Depth
This is an almost entirely flat system. Cards are white with a 1px border at 10% black — no shadow at all — and separation between panes comes from background tint alone (#f2f5f9 index against white content). The only shadows in the stylesheet are focus rings (outline: 2px solid #1660f3 on :focus-visible) and the small tooltip popovers used by the TypeScript hover cards, which get a soft #00000014 0 1px 4px. Interactive feedback is therefore carried by color, not by lift: nav rows swap to a light blue tint, links darken, and buttons change fill. Nothing translates, scales or rises on hover.
Shapes
Corner radii follow a tight ladder: 4px for inline code, 6px for the smallest controls, 12px for buttons, inputs, dropdowns and code blocks, 16px for cards and callouts, 20px for the search pill, and a full 9999px pill for the primary and secondary CTAs and the "New" badge. Cards and callouts consistently use the largest non-pill radius, which is what makes them read as containers rather than as raised panels. The only asymmetric rounding is the split "Install Box Agent Skills" button, whose left corners are 12px and right corners square where it joins its dropdown toggle.
Motion & Micro-interaction
Motion is fast, purposeful and standardized on one easing curve, cubic-bezier(0.4, 0, 0.2, 1). Color and background changes (link hover, nav row highlight, button fill) run 150ms; transform-driven feedback runs 150–200ms; and the collapsible navigation panes animate their height over 300ms so the index expands smoothly. prefers-reduced-motion: reduce disables every transition and animation globally. Nothing loops, nothing parallaxes, and no content animates in on scroll — the page is fully readable the moment it paints.
Voice & Content Strategy
The voice is plain, outcome-first and developer-to-developer. It assumes competence, states facts once, and never sells.
- Tone of voice: Direct, calm and literal. It rules out exclamation marks, marketing adjectives and any sentence that restates the heading above it. The hero reads "Learn how to use Box to manage documents at scale with enterprise security, real-time collaboration, e-signatures, workflow automation, and AI built in," and the versioning note opens "This reference covers every Box API resource."
- Capitalization: Title Case for page and section headings ("API Reference", "Box for Developers quick start", "Sign up for a free account"), sentence case for body copy, buttons and nav labels ("Get started for free", "Log in", "Ask Assistant").
- Terminology: "Box Dev Docs" is the product; "developer account", "developer token" and "app" are the canonical nouns. Resources keep their exact API names ("Shared links (Files)", "Collaborations (List)") — never paraphrased — and the left index is sorted by them.
- Button and action labels: Verb phrases naming the outcome ("Get started for free", "Install Box Agent Skills", "Try your first request", "Create a free developer account"), never generic "OK" or "Submit". The one imperative-plus-noun label, "Ask a question", sits in the assistant composer.
- Empty, loading, and error states: The assistant composer shows a placeholder rather than an empty state ("Ask a question"), and warnings are stated as constraints with a remedy attached — "The maximum file size is 50MB. For larger files, use the chunked upload APIs." No spinner copy or error strings are exposed on the public pages.
- Numbers, dates, and units: Units are written inline and compactly ("50MB", "2.0"), API versions appear as bare numbers in the base URL (
https://api.box.com/2.0), and endpoints are named with their HTTP path rather than prose.
Components
button-primary— the Box blue pill. 10px/24px padding, 42px tall, 14px semibold white label, fully rounded. Used exactly once per view for the single most important action ("Get started for free"). Hover deepens the fill to#002947; there is no shadow and no border.button-secondary— the same pill geometry at 36px with a white fill,#3e4145label and a 1px#dee1e5border ("Log in", "API reference"). It is always visually quieter than the primary.search-field/ assistant pill — a 20px-radius, 36px-tall pill on a 3% near-black tint of white, holding a magnifier glyph, the word "Search…" and a⌘Khint. The "Ask Assistant ⌘I" pill beside it is the same component with a sparkle glyph.nav— a 96px transparent bar over white. Section links are 16px grey; the current one is underlined in blue. The active row in the left index usesnav-item-active: a#f6fafdfill, blue text and a 12px radius.sidebar— the documentation index on#f2f5f9. Group headings are 12px semibold, entries 14px grey at 1.43 line-height, and expandable groups animate their height over 300ms.card— white, 16px radius, 24px padding, 1px 10%-black border, no shadow. Anatomy: a blue line icon, a 16px semibold title, and two lines of 16px body copy. Six of them form the "I want to…" router on the homepage.code-block—#e8edf2fill, 12px radius, 20px padding, Paper Mono at 16px, with a floating toolbar (code-block-toolbar) on#eef0f4holding copy and assistant actions. Inlinecodeuses the same family at 14px/500 on the page white.callout-info/callout-warning— 16px-radius tinted panels with a leading glyph, a bolded first sentence and 16px body copy. Info is#eff6ffon#1e40af; warning is#fefce8on#854d0e. They are the only colored surfaces on the page.link/link-hover—#0550aein prose,#0061d5in the UI chrome, both darkening to#002947on hover. Links are underlined only inside running text.
Do's and Don'ts
- Do use Box blue for exactly one action per view. The "Get started for free" pill is the only saturated fill on the page; a second filled button in the same view halves its authority.
- Don't add shadows to cards or panels. Separation comes from the 1px 10%-black border and from surface tint (
#f2f5f9index,#eef0f4chips), not from elevation. - Do keep body text on the grey ramp (
#3e4145,#16191d) rather than pure black, and reserve#6f7276for metadata, nav labels and placeholders — never for body copy. - Don't mix the two type families outside their roles: Inter for anything a human reads, Paper Mono for anything a machine copies.
- Do keep every spacing value on the 4px scale and every radius on the 4/6/12/16/20/9999 ladder; 8px and 24px radii do not exist here.
- Don't let callouts carry more than one idea. Each is a single bolded constraint plus its remedy, as in "The maximum file size is 50MB. For larger files, use the chunked upload APIs."
- Do keep the left index exhaustive and alphabetically sorted — it is the primary navigation for the whole API surface, and resource names must match the API exactly.
- Don't use a transition longer than 300ms or any easing other than
cubic-bezier(0.4, 0, 0.2, 1), and never animate content in on scroll. - Don't rely on the green "New" pill alone to signal freshness — it is a 3.3:1 pairing on the site itself, so pair it with a date or a version note in the surrounding copy.
- Do preserve the three-pane shell (index / content / "On this page") on every reference page; collapsing it to a single column loses the scanning speed the site is built for.
Box Dev の DESIGN.md を AI エージェントで使う方法
Box Dev の DESIGN.md を取得する
https://www.designmdpro.app/websites/box-dev.md を取得するか、DesignMD Pro MCP サーバーから slug "box-dev" で get_design_md ツールを呼び出すと公開版を取得できます。完全なトークンセットには Pro が必要です。
プロジェクトルートに DESIGN.md として保存する
Claude Code、Cursor、Codex などのコーディングエージェントが参照できるよう、AGENTS.md や CLAUDE.md と同じ階層に配置してください。
エージェントに仕様へ従うよう指示する
例:「DESIGN.md にある Box Dev のデザインシステム(カラー、タイポグラフィ、スペーシングトークン)に従って設定ページを構築してください。」
Box Dev スタイル AI プロンプト
Box Dev(developer.box.com) のビジュアルスタイルに基づき、その DESIGN.md デザインシステムに従ってレスポンシブなランディングページを構築してください。
## カラー
- info: #EFF6FF
- on-info: #1E40AF
- outline: #DEE1E5
- primary: #0061D5
- surface: #FFFFFF
- warning: #FEFCE8
- secondary: #0550AE
- on-primary: #FFFFFF
## タイポグラフィ
- body-lg: "Inter", 18px, weight 400, line-height 1.56
- code-md: "Paper Mono", 16px, weight 400, line-height 1.75
## 角丸
- lg: 16px
- md: 12px
- sm: 6px
## ルール
- 背景、テキスト、ボーダー、アクセントには上記のカラーのみを使用し、新しい色を勝手に作らないでください。
- すべてのテキストに上記のタイポグラフィスタイルを適用し、サイズとウェイトの階層を維持してください。
- コンポーネントの一貫性を保つため、角丸とスペーシングは上記のスケールから選択してください。
完全な DESIGN.md: https://www.designmdpro.app/websites/box-dev.mdv0 プロンプトジェネレーターでカスタマイズ →よくある質問
Box Dev のプライマリカラーは何ですか?
Box Dev のプライマリブランドカラーは ブルー(#0061D5)です。DESIGN.md には合計 18 個のカラートークンが定義されています。
Box Dev はどのフォントを使用していますか?
Box Dev のプライマリ書体は Inter・Paper Mono です。
Inter は無料フォントですか?
はい。Inter は無料かつオープンソースで、Google Fonts から利用できます。
Box Dev の design tokens を Tailwind CSS や shadcn/ui で使うにはどうすればよいですか?
Box Dev のプライマリカラー(#0061D5)はこのページで公開されています。完全な Tailwind または shadcn テーマを生成するには、DesignMD Pro で提供される完全な DESIGN.md が必要です。
この Box Dev の DESIGN.md は公式のものですか?
いいえ。DesignMD Pro が公開ウェブサイト developer.box.com から抽出したものであり、Box Dev との提携や承認関係はありません。
Box Dev の DESIGN.md はいつ最終更新されましたか?
バージョン 1.0.0 は 2026年12月3日 に取得されました。
Box Dev およびその商標は各権利者に帰属します。DesignMD Pro は独立したプロジェクトであり、Box Dev との提携や承認関係はありません。この DESIGN.md は公開ウェブサイトから参考目的で抽出されたものです。