Corpora UI

Logo

Brand lockup: a mark beside a wordmark. The mark is an SVG, an image, or a monogram tile derived from the name; variant="mark" folds the wordmark away with the same motion a collapsing rail uses. With href the whole lockup is a home link.

Preview

Use the controls to explore the component's props.

Props

PropTypeDefaultDescription
name (required)string—Brand name. Labels the logo for AT (and the link, when href renders one), drives the default wordmark, and the monogram tile when no mark is given.
markReactNode—Custom mark — an inline SVG sized to fill its box. Wins over src.
srcstring—Image URL for the mark. Decorative — name labels the logo. Without mark or src, a monogram tile derived from name renders instead.
wordmarkReactNode—Wordmark content. Defaults to name.
variant"full" | "mark""full"mark folds the wordmark away (width, opacity, slight x) and hides it from AT; the root keeps the accessible name. Reduced-motion aware.
hrefstring—Renders the lockup as an anchor named by name — the usual "mark goes home" affordance.

Example

import { Logo } from "@exegia/corpora-ui"

<Logo name="Corpora" href="/" mark={<BrandMark />} />
<Logo name="Corpora" variant="mark" />  // icon rail: mark only

Last updated on

On this page