ui/brand
ui/brand
Import from @norbital-ai/ui/brand
@norbital-ai/ui/brand: the product's own marks for the shell, the host and the website, never a workspace's. AccretionDisc is the agent's orb and the full-surface loading mark; attach_dot_field draws any dot-field geometry; NorbiusStrip is Norbius's mark in the shell's chrome. AccessFrame is the access pages' one look (Bolt's sign-in, a host's workspace picker) over NorbiusField, the band at page scale, around one AccessCard. ConceptIcon draws each Bolt concept's one icon; Icon from the root also takes it as concept:<name>.
access-card
AccessCard component
component AccessCard(props: $$ComponentProps) AccessCard: the one access card inside AccessFrame — Bolt's sign-in, invitation and failure, and a host's workspace picker, sign-up, switch, paywall and error pages. An overline and the workspace it names, the title and an optional line under it, then the caller's field and one full-width primary action (with at most one text link under it), then a hairline and one hint. Every string is the caller's, in its own locale.
Props
| Name | Type | Description |
|---|---|---|
eyebrow? | string | undefined | The overline: what is happening to the workspace ("Signing in to", "Switching to"). |
name? | string | undefined | The workspace's name, under the overline. |
title | string | The page's one heading. |
description? | string | undefined | One line under the title, such as where a code went. |
hint? | Snippet | string | undefined | One line under a hairline: what happens next. |
wide? | boolean | The full measure of a wide |
children | Snippet | The field, the primary action and its one secondary link. |
Example
<AccessCard eyebrow="Signing in to" name="Acme" title="Sign in" hint="We'll email you a six-digit code.">
<Input … /><Button class="w-full">Send sign-in code</Button>
</AccessCard> Source: packages/ui/src/brand/access-card.svelte:1
access-frame
AccessFrame component
component AccessFrame(props: $$ComponentProps) AccessFrame: the one access look — Bolt's sign-in and invitation, and a host's workspace picker. The Norbius band behind, the Norbital mark and environment badge, the language and theme switches and the "secure access" overline, then one content-sized card. Every string is the caller's, in its own locale.
Props
| Name | Type | Description |
|---|---|---|
environment? | string | null | undefined | The deploy environment: nothing in production, |
home? | string | undefined | Where the mark links, if anywhere. |
languages | readonly { readonly code: string; readonly label: string; }[] | Available languages ( |
locale | string | Currently active locale tag. |
on_locale | (code: string) => void | A language was selected from the Globe menu; the caller switches to |
dark | boolean | The current theme is dark: the theme switch offers light. |
on_theme | () => void | The theme switch was pressed; the caller toggles |
labels | { switchLanguage: string; lightMode: string; darkMode: string; secureAccess: string; } | The chrome's accessible names and the overline, in the caller's locale.
|
wide? | boolean | A full-measure card instead of the narrow one. Default false. |
children | Snippet | The card's content. |
footer? | Snippet | undefined | Navigation below the card, such as changing workspace. |
Source: packages/ui/src/brand/access-frame.svelte:1
accretion-disc
AccretionDisc component
component AccretionDisc(props: $$ComponentProps) The loading mark: a black hole's accretion disc drawn in dots.
Props
| Name | Type | Description |
|---|---|---|
size? | number | The box's width and height in pixels. Default 96. |
label? | string | The accessible name; without it the mark is hidden from assistive technology. |
class? | string | Extra classes on the box. |
Source: packages/ui/src/brand/accretion-disc.svelte:1
concept-icons
CONCEPT_ICONS const
const CONCEPT_ICONS: { readonly workspace: { readonly base: "<path d=\"M12 3 20 7.5v9L12 21l-8-4.5v-9Z\"/><path d=\"M12 12v9\"/>"; readonly accent: "<path d=\"M4 7.5 12 12l8-4.5\"/>"; }; readonly model: { readonly base: "<path d=\"M4 5.5v13c0 1.7 3.6 3 8 3s8-1.3 8-3v-13\"/><path d=\"M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3\"/>"; readonly accent: "<ellipse cx=\"12\" cy=\"5.5\" rx=\"8\" ry=\"3\"/>"; }; readonly access: { readonly base: "<path d=\"M12 3 19 6v5c0 4.5-2.7 7.6-7 10-4.3-2.4-7-5.5-7-10V6Z\"/>"; readonly accent: "<path d=\"m9.5 12 1.7 1.7 3.6-3.7\"/>"; }; readonly automation: { readonly base: "<circle cx=\"6\" cy=… Each concept's SVG children on a 24×24 grid: base in currentColor, accent in the brand accent.
Members
| Name | Type | Description |
|---|---|---|
workspace | { readonly base: "<path d=\"M12 3 20 7.5v9L12 21l-8-4.5v-9Z\"/><path d=\"M12 12v9\"/>"; readonly accent: "<path d=\"M4 7.5 12 12l8-4.5\"/>"; } | |
model | { readonly base: "<path d=\"M4 5.5v13c0 1.7 3.6 3 8 3s8-1.3 8-3v-13\"/><path d=\"M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3\"/>"; readonly accent: "<ellipse cx=\"12\" cy=\"5.5\" rx=\"8\" ry=\"3\"/>"; } | |
access | { readonly base: "<path d=\"M12 3 19 6v5c0 4.5-2.7 7.6-7 10-4.3-2.4-7-5.5-7-10V6Z\"/>"; readonly accent: "<path d=\"m9.5 12 1.7 1.7 3.6-3.7\"/>"; } | |
automation | { readonly base: "<circle cx=\"6\" cy=\"18\" r=\"2.5\"/><path d=\"M6 3v12.5M18 8.5A9.5 9.5 0 0 1 8.5 18\"/>"; readonly accent: "<circle cx=\"18\" cy=\"6\" r=\"2.5\"/>"; } | |
interface | { readonly base: "<rect x=\"3\" y=\"4\" width=\"18\" height=\"16\" rx=\"2\"/><path d=\"M3 9h18\"/>"; readonly accent: "<path d=\"M7 13.5h10M7 16.5h6\"/>"; } | |
studio | { readonly base: "<path d=\"m8 6-6 6 6 6M16 6l6 6-6 6\"/>"; readonly accent: "<path d=\"m9 12.5 2 2 4-4.5\"/>"; } | |
models | { readonly base: "<rect x=\"3\" y=\"4\" width=\"18\" height=\"16\" rx=\"2\"/><path d=\"M3 14.5h18M9 9.5V20\"/>"; readonly accent: "<path d=\"M3 9.5h18\"/>"; } | |
writes | { readonly base: "<circle cx=\"6\" cy=\"18\" r=\"2\"/><path d=\"M6 5a13 13 0 0 1 13 13\"/>"; readonly accent: "<path d=\"M6 11a7 7 0 0 1 7 7\"/>"; } | |
data | { readonly base: "<path d=\"M4 8h14M14 4l4 4-4 4\"/>"; readonly accent: "<path d=\"M20 16H6M10 12l-4 4 4 4\"/>"; } | |
history | { readonly base: "<path d=\"M3 12a9 9 0 1 0 2.6-6.4L3 8\"/><path d=\"M3 3v5h5\"/>"; readonly accent: "<path d=\"M12 7.5V12l3 2\"/>"; } | |
policies | { readonly base: "<circle cx=\"9\" cy=\"8\" r=\"3.5\"/><path d=\"M3 20a6 6 0 0 1 10.5-4\"/>"; readonly accent: "<path d=\"M17.5 11 21 12.4v2.4c0 2.2-1.4 3.6-3.5 4.7-2.1-1.1-3.5-2.5-3.5-4.7v-2.4Z\"/>"; } | |
approvals | { readonly base: "<path d=\"M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8Z\"/><path d=\"M14 3v5h5\"/>"; readonly accent: "<path d=\"m9 14.5 2 2 4-4.5\"/>"; } | |
automations | { readonly base: "<path d=\"M20 12a8 8 0 1 1-2.3-5.7L20 8.5\"/><path d=\"M20 4v4.5h-4.5\"/>"; readonly accent: "<path d=\"M10.5 9.5v5l4-2.5Z\"/>"; } | |
agents | { readonly base: "<circle cx=\"12\" cy=\"12\" r=\"3\"/>"; readonly accent: "<ellipse cx=\"12\" cy=\"12\" rx=\"10\" ry=\"4.5\" transform=\"rotate(-24 12 12)\"/>"; } | |
apps | { readonly base: "<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" rx=\"1.5\"/><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" rx=\"1.5\"/><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" rx=\"1.5\"/>"; readonly accent: "<rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" rx=\"1.5\"/>"; } | |
integrations | { readonly base: "<rect x=\"2\" y=\"8\" width=\"5\" height=\"8\" rx=\"1.5\"/><rect x=\"17\" y=\"8\" width=\"5\" height=\"8\" rx=\"1.5\"/>"; readonly accent: "<path d=\"M7 10.5h9.5M14 8.5l2 2M17 13.5H7.5M10 15.5l-2-2\"/>"; } | |
releases | { readonly base: "<path d=\"M12 3H4.5A1.5 1.5 0 0 0 3 4.5V12l9 9 9-9Z\"/>"; readonly accent: "<circle cx=\"7.5\" cy=\"7.5\" r=\"1.5\"/>"; } | |
quick-start | { readonly base: "<path d=\"M6 18 16 8\"/>"; readonly accent: "<path d=\"M10 7h7v7\"/>"; } | |
examples | { readonly base: "<rect x=\"4\" y=\"5\" width=\"11\" height=\"12\" rx=\"2\"/><rect x=\"9\" y=\"8\" width=\"11\" height=\"11\" rx=\"2\"/>"; readonly accent: "<path d=\"M15 8h3a2 2 0 0 1 2 2v3\"/>"; } | |
api | { readonly base: "<path d=\"M9 5H7a2 2 0 0 0-2 2v2c0 2-1 3-2 3 1 0 2 1 2 3v2a2 2 0 0 0 2 2h2M15 5h2a2 2 0 0 1 2 2v2c0 2 1 3 2 3-1 0-2 1-2 3v2a2 2 0 0 1-2 2h-2\"/>"; readonly accent: "<path d=\"M10.5 12h3\"/>"; } |
Source: packages/ui/src/brand/concept-icons.ts:12
concept-icon
ConceptIcon component
component ConceptIcon(props: $$ComponentProps) A Bolt concept's icon (workspace, models, approvals …): a line glyph in the current colour with one stroke in the brand accent. Set --product-icon-accent on an ancestor to repaint the accent (currentColor for a monochrome glyph).
Props
| Name | Type | Description |
|---|---|---|
name | ConceptName | The concept drawn. |
class? | string | Classes on the svg (size and colour). Default |
Source: packages/ui/src/brand/concept-icon.svelte:1
concept-icons
ConceptName type
type ConceptName = keyof typeof CONCEPT_ICONS; A Bolt concept: the workspace; the five stages (model, access, automation, interface, studio); the building blocks within them (models … releases); and the docs' own entries (quick-start, examples, api).
Source: packages/ui/src/brand/concept-icons.ts:9
feature-colors
FEATURE_COLORS const
const FEATURE_COLORS: { readonly automations: FeatureColorStyles; readonly approvals: FeatureColorStyles; readonly agents: FeatureColorStyles; readonly accessControl: FeatureColorStyles; readonly applications: FeatureColorStyles; readonly workspaceStudio: FeatureColorStyles; readonly builtIn: FeatureColorStyles; readonly customApps: FeatureColorStyles; readonly moduleStudio: FeatureColorStyles; readonly permissions: FeatureColorStyles; readonly dataBrowser: FeatureColorStyles; readonly tasks: FeatureColorStyles; } Each feature's icon and Tailwind classes for its icon tile (iconWrapperClass), bare icon and accent chip.
Source: packages/ui/src/brand/feature-colors.ts:34
FeatureColorKey type
type FeatureColorKey = 'accessControl' | 'agents' | 'applications' | 'approvals' | 'automations' | 'workspaceStudio' | 'builtIn' | 'customApps' | 'moduleStudio' | 'permissions' | 'dataBrowser' | 'tasks'; A platform feature that has its own brand colour.
Source: packages/ui/src/brand/feature-colors.ts:6
norbius-strip
NorbiusStrip component
component NorbiusStrip(props: $$ComponentProps) Norbius's mark: a band of dots that moves with the agent's state.
Props
| Name | Type | Description |
|---|---|---|
state? | NorbiusStripState | The agent's state the band moves with. Default |
size? | number | The box's width and height in pixels. Default 20. |
label? | string | The accessible name; without it the mark is hidden from assistive technology. |
class? | string | Extra classes on the box. |
Source: packages/ui/src/brand/norbius-strip.svelte:1
concept-icons
concept_of function
function concept_of(reference: string): ConceptName | null The concept a concept:<name> icon reference names, or null for any other reference.
Parameters
| Name | Type | Description |
|---|---|---|
reference | string |