Raft Design System

Components · Identity

RaftLogo

The Raft mark, wordmark and lockup as inline SVGs, for brand pages such as sign-in, creating an account or a server, and loading screens.

StableAlso called Logo, RaftWordmark, RaftLogoLockup, Raft mark
import { RaftLogo } from "@botiverse/raft-ui";

raft-ui exports the Raft logo as three inline SVGs: RaftLogo (the mark), RaftWordmark (the word RAFT) and RaftLogoLockup (the two together). They are the website's artwork, copied exactly. Where the logo may appear, and which colors go on which background, is in Brand; the source files and their colors are in Logos.

logo/logo

When to use

Where the logo may appear is in Brand and Logos. Once it may appear, pick the export by what it shows:

SituationUse
The mark aloneRaftLogo
The word aloneRaftWordmark
The mark and the word togetherRaftLogoLockup
The frame of a working pageNot the logo: the workspace button or the rail's workspace tile (Brand)

Anatomy

  • RaftLogo: the mark alone.
  • RaftWordmark: the letters alone.
  • RaftLogoLockup: the mark, then the letters.

Each one is an svg that keeps its proportions. Set its height with a class and leave the width auto. The exports draw the light-background colors of raft-logo.svg: an ink outline with a cream inside. In dark mode they switch to the white outline of raft-logo-white.svg on their own, with an ink inside; inside a .light island they keep the light artwork.

Accessibility

  • The SVGs have no name of their own. When the logo stands alone, give it role="img" and aria-label="Raft".
  • When visible text next to it already says Raft, hide the logo with aria-hidden.

API

Takes the attributes of its element.

Changes

  • 0.1.0 · AddedAdded ConversationPanel, ThreadPanel, Panel, ScrollArea, FilePreview, RaftLogo / lockup / wordmark, and MobileNav.