A rule or best practice for design consistency
A design guideline is a written rule inside a design systemDesign SystemDesign SystemThe root design system entityView reference → that tells a team how a component, a pattern, or a piece of content should behave. It says when to use a primary button and when not to, what minimum colour contrast a label must meet, how an error message should be worded. The guideline is the prose that surrounds the code. A system that ships components without guidelines hands people the parts and stays silent on the assembly, and that silence is where consistency quietly leaks away.
The discipline of writing down interface rules predates the term "design system". Apple published its Human Interface Guidelines in 1987, a book that explained the reasoning behind the Lisa and Macintosh interfaces and instructed third-party developers on how to build applications that felt native. The document did more than list widgets. It argued for principles such as direct manipulation and user control, then derived concrete rules from them. That pairing, a stated principle followed by the rule it produces, became the shape of the genre.
The intellectual root runs deeper, to Christopher Alexander's A Pattern Language (1977), which described recurring solutionsSolutionDiscoveryA proposed approach to address an opportunityView reference → to design problems in architecture and gave each one a name, a context, and a rule for when it applies. Software borrowed the structure. By the time Brad Frost published Atomic Design in 2016, teams had a vocabulary for breaking interfaces into atoms, molecules, and organisms, and the question of governance grew louder: who decides how these parts combine, and where is that decisionDecisionStrategyA recorded decision with context, rationale, and consequencesView reference → recorded?
Salesforce answered part of it in 2015 by releasing the Lightning Design System as an open project with version control, releaseReleaseProduct SpecificationA shipped version of the productView reference → notes, and documented usage. A design system started to look like a product, and its guidelines became the changelogChangelogProduct SpecificationA record of changes shipped in a releaseView reference →-bearing contract between the people who maintain the parts and the people who consume them. The live debate today is about enforcement: how much of a guideline can be encoded as a lint rule or a constrained API, and how much must stay as prose that a designer reads and judges.
A fintech team ships a Button component with three variantsVariantGrowthA variant in an A/B testView reference →. Within a quarter, screens across the product show two primary buttons competing for attention in the same dialog, because nothing told engineers that a primary action is singular per view. The team writes a guideline: one primary button per screen, secondary actions use the secondary variant, destructive actions use the destructive variant and require a confirmation step. They add a do/don't pair with screenshots and a contrast note tying the destructive colour to a 4.5:1 ratio against its background.
The guideline does not change a line of component code. It changes outcomesOutcomeStrategyA desired business or user outcomeView reference →. Six weeks later a review of forty new screens finds two violations instead of the earlier dozen, and both get caught in design review because reviewers now have a rule to point at. The guideline turned a matter of taste into a checkable claim.
Button or Modal. A guideline governs how that component is used. The component answers "what is it"; the guideline answers "when, and how, and never like this".color.action.primary or space.200. A guideline may reference tokens ("use the action token, never a raw hex"), but the token is data and the guideline is the judgement applied to it.In the Unified Product Graph, a design guideline lives in the design-system region and is reachable through three edges. A system codifies its rules through Design Systemcodified inDesign Guidelinehierarchy, so the written law has a parent it belongs to. A component binds to the rule that constrains it through design_system_codified_in_design_guidelineDesign Componentgoverned byDesign Guidelinehierarchy, which makes "which guideline governs this button?" a query rather than a hunt through a wiki. Research feeds the rules through design_component_governed_by_design_guidelineInsightinformsDesign Guidelinecross-domain, so a usability finding can be traced to the guideline it changed. That structure stops a system drifting, because an ungoverned component and an unsourced rule both become visible as gaps the moment you look.insight_informs_design_guideline
Type-specific fields on BaseNode
guideline_categorystringCategory covered
applies_tostringApplicable elements or contexts
rationalestringReasoning. Why this rule exists.
rule_strengthstringImperative force. Supersedes `strictness`.
strictnessstringRFC-2119-flavoured binding strength
exception_policystringException request or documentation process
idstringrequiredUnique identifier (UUID)
typeNodeTyperequiredDiscriminator for the entity type
titlestringrequiredDisplay name
descriptionstringOptional detailed description
statusstringLifecycle status
tagsstring[]Freeform tags for filtering
4 phases — initial: draft · template: PUBLISHING
3 edge types connected to this entity.
design_component_governed_by_design_guidelinedesign_system_codified_in_design_guidelineinsight_informs_design_guideline