Logo
When to use it
Section titled “When to use it”- At the left of the header on every page, using the lockup at 32px high.
- Use the mark on its own where there’s no room for the wordmark, such as a collapsed sidebar, an app icon or a favicon.
When not to use it
Section titled “When not to use it”- For listing, room or place photos: use the Image component instead.
Instead: Image - For a person’s profile photo: use the Avatar component instead.
Instead: Avatar - As a decorative icon or bullet: use an icon from the Icon Library instead.
Instead: Icon Library
Best practice
Section titled “Best practice”From the Figma documentation page (usage node 137:506), as written. These items aren’t carried into Logo.intent.json, which has no field for them.
- Use the logo as it is: don’t recolour, stretch, rotate or add effects to it.
- Scale an instance proportionally only (hold Shift while resizing); never change its width and height separately.
- Don’t edit the wordmark text or retype it in another font.
- Leave clear space around the logo; don’t crowd it with other elements.
- Place it on a light background so the blue stays readable; there’s no version for dark backgrounds yet.
- Don’t show the mark and the lockup side by side on the same screen.
What each variant is for
Section titled “What each variant is for”| Property | Value | What it is for |
|---|---|---|
type |
lockup |
default; mark and wordmark, the header logo |
type |
mark |
the icon alone |
Accessibility
Section titled “Accessibility”- The mark is a native <img>. Its alt defaults to an empty string in the lockup, where the wordmark text beside it names the logo, and to “Horizon Stays” in the mark-only variant; the alt prop overrides either.
src/components/Logo/Logo.tsx:14 - The mark image carries explicit width and height of 32, its intrinsic size.
src/components/Logo/Logo.tsx:20 - The wordmark is real text content, so it is the lockup’s accessible name and is selectable.
src/components/Logo/Logo.tsx:21
What this version promises
Section titled “What this version promises”From Versioning (VERSIONING.md at b9ffb76):
0.3.0 adds six components on top of 0.2.1: Calendar, Card, Form, Modal, SideBar and Table. It contains twenty-three components, each exported from the package root with its props type: Avatar, Breadcrumbs, Button, ButtonGroup, Calendar, Card, Checkbox, Chip, Dropdown, File, Form, Header, Image, Link, Logo, Modal, ProgressBar, RadioCard, SearchBar, SideBar, Stepper, Table, Toggle. Textfield is exported from the package root as well, with TextfieldProps and TextfieldState, and is public like the others (see decisions.md, 2026-10-07, Textfield). It commits you to their props, prop values and defaults, their hz- class names, the tokens in tokens.css and the three entry points (., ./styles.css, ./tokens.css). Everything in 0.3.0 beyond 0.2.1 is an addition: nothing from 0.2.1 was changed, removed or renamed. A change that breaks any of these on 0.x bumps the version to 0.4.0.
Two things about this release are worth knowing:
- Form, Modal and Table each passed release review with their literal sizes covered by a ruling in decisions.md (Card, SideBar and Calendar have their own), because no size tokens exist for them. Those literals are accepted until the designer adds matching tokens, so a later change to use tokens at the same rendered sizes would be a patch, not a breaking change.
- Dark theme is not verified for Table, and its warning tag has low contrast. The Table docs page says so. Neither is a breaking-change risk, but a fix that changes a token’s value is a patch and is listed in the changelog.
Stories
Section titled “Stories”All Variants
Section titled “All Variants”Not guidance for a product screen. This story is a side-by-side comparison for the Storybook. Figma’s Best Practice for Logo (node 137:666) says: “Don’t show the mark and the lockup side by side on the same screen.”
The single-variant stories (Lockup, Mark) are rows of the variant matrix; the Design tab links each one.
Import
Section titled “Import”import { Logo } from "@layerbasesystemic/horizon-design-system";import type { LogoProps, LogoType } from "@layerbasesystemic/horizon-design-system";@layerbasesystemic/horizon-design-system/tokens.css and @layerbasesystemic/horizon-design-system/styles.css must be loaded too; see Developing.
| Prop | Type | Default | Description |
|---|---|---|---|
type |
LogoType |
"lockup" |
— |
alt |
string |
— | — |
LogoProps also extends HTMLAttributes<HTMLSpanElement>, so native attributes pass through to the element (Logo.tsx:7).
Union types
Section titled “Union types”LogoType: lockup, mark
Tokens it needs
Section titled “Tokens it needs”Every CSS custom property Logo.css reads, with its value in the token build at b9ffb76.
| Token | Light | Dark |
|---|---|---|
--fontfamily-body |
Inter |
same as light |
--fontsize-2xl |
18px |
same as light |
--lineheight-2xl |
26px |
same as light |
--spacing-sm |
8px |
same as light |
This matches required_tokens in Logo.intent.json exactly.
Figma node
Section titled “Figma node”Page Logo (57:1636), documentation frame ❖ logo (137:18), component set logo (137:17). The file is shared with the team only, so the frame and the link ask anyone outside it to sign in.
Variant matrix
Section titled “Variant matrix”type (2) = 2 cells. The documentation frame (137:18) lays the two variants out in one column, each beside a text label. The component set (137:17) publishes two variants, type=lockup (137:6, 162x32) and type=mark (137:12, 32x32). Figma draws no states and no sizes.
type |
Figma node | Story |
|---|---|---|
lockup |
137:6 |
Lockup |
mark |
137:12 |
Mark |
Themes
Section titled “Themes”The Logo frame renders both variants once, in one theme, and has no separate light and dark frames. The mark is the committed SVG asset (src/assets/images/logo-mark.svg) with its colours fixed inside the file, and the wordmark colour is a fixed literal in the stylesheet, so neither follows the UI theme tokens and the Logo does not change between light and dark. Figma’s Best Practice says there’s no version for dark backgrounds yet.
The token build defines 179 tokens for light and redeclares 50 for dark; the Code tab shows Logo’s tokens in both.
Values Figma never bound
Section titled “Values Figma never bound”Values on the Figma node that aren’t bound to a variable, and what Logo.css at b9ffb76 does with each.
| Layer | Property | Figma value | In the code |
|---|---|---|---|
| wordmark text “Horizon Stays” (137:11), in type=lockup (137:6) | text colour | #2e7cc4 |
color: #2e7cc4; |
| mark (137:7 in type=lockup, 137:13 in type=mark) | fill colours inside the vector: tile #3B82F6, sun and wave white | #3B82F6 with white |
Set inside the SVG asset, not in the stylesheet: src/assets/images/logo-mark.svg |
Figma variables against the token build
Section titled “Figma variables against the token build”| Figma variable | Figma value | Token in the build | Built light value | Agrees |
|---|---|---|---|---|
--spacing-sm |
8 |
--spacing-sm |
8px |
yes |
--fontFamily-body |
Inter |
--fontfamily-body |
Inter |
yes |
--fontSize-2xl |
18 |
--fontsize-2xl |
18px |
yes |
--lineHeight-2xl |
26 |
--lineheight-2xl |
26px |
yes |
--fontWeight-semibold |
Semi Bold |
no such token | — | no token |
--fontWeight-semibold is bound in Figma but the token build has no token of that name.
Design gaps recorded against it
Section titled “Design gaps recorded against it”- 2026-10-02 · Logo wordmark colour with no token (decisions.md). This literal in src/components/Logo/Logo.css is accepted, because it is the fixed brand colour the Figma node specifies, and it does not follow the UI tokens by design. Accepted values:
#2e7cc4(color on the wordmark,.hz-logo__wordmark, line 20). Not ruled: Any other literal value, including a var() fallback. This value in any other component. A change to this value: a different colour needs a new ruling or a token. The font-weight: 600 hard-coded on line 18 is not a px or hex value and needs no ruling. The Logo has no dark-background version, and any recolouring of the mark or wordmark is outside this ruling.