Logo
StableThe 09 Frame mark and the RChursin_ wordmark in four lockups, drawn as one SVG that takes the text colour.
An L-shaped corner bracket and a solid square, then the name set in Geist Mono Medium with a drawn underscore. The letters are outlined shapes, so the logo looks the same everywhere without loading a font. It takes its colour from the text colour and its size from a height (or a width), plus every SVG attribute except children and viewBox.
Four lockups
import { Logo, type LogoVariant } from '@rchursin/brand/Logo'
/** One component, four drawings. Size it with a height (h-6 w-auto) and colour it with the text colour. */const variants: { variant: LogoVariant; className: string; use: string }[] = [ { variant: 'lockup', className: 'h-6 w-auto', use: 'The default: headers, footers, documents' }, { variant: 'wordmark', className: 'h-6 w-auto', use: 'When the mark is already nearby' }, { variant: 'stacked', className: 'h-20 w-auto', use: 'Square spaces: covers, splash screens' }, { variant: 'mark', className: 'size-12', use: 'App icons, favicons, avatars' },]
export default function LogoVariants() { return ( <div className="@container w-full max-w-3xl"> <ul className="grid gap-3 @lg:grid-cols-2"> {variants.map((v) => ( <li key={v.variant} className="flex min-w-0 flex-col overflow-hidden rounded-2xl bg-surface ring-1 ring-line"> <div className="flex min-h-36 items-center justify-center px-6 py-8 text-fg"> <Logo variant={v.variant} className={v.className} /> </div> <div className="flex flex-col gap-0.5 border-t border-line px-4 py-3"> <code className="font-mono text-[12px] font-medium text-fg">variant="{v.variant}"</code> <span className="text-[12.5px] text-fg-3">{v.use}</span> </div> </li> ))} </ul> </div> )}Usage
import { Logo } from '@rchursin/brand/Logo'<Logo className="h-6 w-auto" />
// Inside a link, the link carries the name<Link to="/" aria-label="RChursin_, home" className="lux-logo focus-ring"> <Logo className="h-[18px] w-auto" title="" /></Link>Examples
Named or decorative
Who gives the logo its name, and the blinking cursor. Hover or focus the first one; press Replay for the third.
import { useState, type ReactNode } from 'react'import { Logo } from '@rchursin/brand/Logo'import { Link } from '@rchursin/product/lib/router'import { Button } from '@rchursin/product/ui'
/** * Who names the logo. Inside a link, the link carries the name and the logo is decorative * (title=""). On its own, the logo names itself ("RChursin_", read as an image). * blink makes the underscore blink four times, then rest. */export default function LogoNaming() { const [replay, setReplay] = useState(0) return ( <div className="@container w-full max-w-3xl"> <div className="grid gap-3 @2xl:grid-cols-3"> <Cell code={'<Link aria-label="RChursin_, home">\n <Logo title="" />\n</Link>'} note="In a link: the link has the name."> <Link to="/" aria-label="RChursin_, home" className="lux-logo -m-1 flex items-center rounded-md p-1 text-fg focus-ring"> <Logo className="h-[18px] w-auto" title="" /> </Link> </Cell>Clear space and minimum size
Keep H, the height of the mark, empty on every side. Never smaller than 110 px wide (lockup) or 16 px (mark).
import type { ReactNode } from 'react'import { Logo } from '@rchursin/brand/Logo'
/** * Clear space: keep at least H, the height of the mark, empty on every side (the hatched band). * In the lockup the mark is 95% of the logo's height, so H is about the height you set. * Minimum sizes: the lockup 110 px wide, the mark alone 16 px. */const H = ({ className }: { className: string }) => ( <span aria-hidden="true" className={`absolute font-mono text-[10px] font-medium text-fg-3 ${className}`}> H </span>)
/** `space` is H in pixels: the empty band drawn around the logo */function Zone({ space, children }: { space: number; children: ReactNode }) { return ( <div className="relative border border-dashed border-line-strong" style={{ padding: space }}> <span aria-hidden="true" className="rc-hatch absolute inset-0 text-fg/[0.12]" /> <div className="relative bg-raised text-fg">{children}</div>Misuse
One colour at full strength, its own proportions, no effects.
import { Logo } from '@rchursin/brand/Logo'import { DoDont } from '@rchursin/product/iconset/parts'
/** The three ways a logo usually goes wrong. Effects belong to the UI around the logo, never to the logo. */export default function LogoMisuse() { return ( <div className="flex w-full max-w-xl flex-col gap-8"> <DoDont title="One colour, full strength" good={<Logo className="h-auto w-full max-w-36 text-fg" title="" />} bad={<Logo className="h-auto w-full max-w-36 text-fg-3" title="" />} goodNote="Ink on light grounds, paper on dark." badNote="Don’t tint, fade or colour it." /> <DoDont title="Keep its proportions" good={<Logo className="h-auto w-full max-w-36 text-fg" title="" />} bad={<Logo className="h-7 w-full max-w-28 text-fg" preserveAspectRatio="none" title="" />} goodNote="Set a height or a width, never both." badNote="Don’t stretch or squash it to fill a box." /> <DoDont title="No effects" good={<Logo className="h-auto w-full max-w-36 text-fg" title="" />} bad={<Logo className="h-auto w-full max-w-36 text-fg" fill="none" stroke="currentColor" strokeWidth={2.5} title="" />} goodNote="Solid shapes, as drawn." badNote="Don’t outline it or add glows and gradients." /> </div> )}API
Logo props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | 'lockup' | 'wordmark' | 'stacked' | 'mark' | 'lockup' | Which drawing: mark and name side by side, the name only, mark above name, or the mark only. |
title | string | 'RChursin_' | The accessible name (role="img" with aria-label). Pass "" when something else names it, such as the link around it: the logo is then aria-hidden. |
blink | boolean | false | Blinks the underscore like a text cursor, four times, then rests. For intros and loading screens. The mark has no underscore, so it ignores this. |
CSS
| Class or variable | What it does |
|---|---|
currentColor | Every shape is filled with currentColor: set the colour with text-fg, text-ink or text-paper. |
rc-cursor | The class on the underscore bar, so lux-logo and rc-cursor-blink can find it. See Cursor underscore. |
Accessibility
- With a title it renders role="img" and aria-label, so screen readers say “RChursin_, image”.
- With title="" it is aria-hidden: use that inside a link or button that has its own name, like the site header’s “RChursin_, home”.
- The blink runs four times and stops (WCAG 2.2.2), and does not run at all when the visitor prefers reduced motion.
Guidelines
Do
- Set one dimension (h-6 w-auto) and let the other follow.
- Use ink on light grounds and paper on dark: text-fg does both.
- Keep clear space of one mark height on every side.
- Use the mark alone where the name is already on screen.
Don’t
- Don’t recolour, tint or fade it. The one exception is the footer’s signature: the wordmark whole, at 7%, on the floor of the page.
- Don’t stretch it, rotate it, or retype the name in another font.
- Don’t add outlines, glows or gradients; effects belong to the UI around it.
- Don’t place it on a busy photo without a solid panel behind it.
In use
Used on this site
Related
- Cursor underscoreThe underscore in RChursin_ is a cursor: it blinks on hover and focus, or a few times when it appears.
- Frame cornersThe logo’s two shapes as a viewfinder: an L bottom-left and a square top-right, drawn around any box.
- Do and don’tA do / don’t pair: two cards side by side with a short note each, told apart by icon, word and a dashed edge.
- Shape & depthCorner sizes from 4 to 24 px plus the 22 px app-icon tile, four elevation steps, and the brand’s Lift shadow.
Source
The component’s own files, exactly as they run on this site.
/** * RChursin_ logo — the 09 "Frame" mark with the wordmark. * * Letters are outlined shapes (from Geist Mono Medium), so the logo looks the same * everywhere without loading a font. It inherits colour from the text colour: * <Logo className="h-6 w-auto text-ink dark:text-paper" /> * * Variants * lockup — mark + RChursin_ side by side (default) * wordmark — RChursin_ only * stacked — mark above RChursin_ * mark — the frame symbol only (app icons, favicons, avatars) * * Rules: one colour at a time; keep clear space of one mark-height around it; * lockup at least 110 px wide, mark at least 16 px. */import type { SVGProps } from "react"
export type LogoVariant = "lockup" | "wordmark" | "stacked" | "mark"