Brand Logo
interlace-ui/brand-logoFreeComponent
The locked two-bar Interlace mark plus the lowercase monospace wordmark "interlace". This is the SAME lockup eslint.interlace.tools ships in its top nav — one component so every *.interlace.tools site renders an identical brand header instead of…
Install it
npx shadcn@latest add https://ds.interlace.tools/r/brand-logo.jsonSource
1import * as React from 'react';23// @interlace/brand-logo v1.0.0 — Interlace design system.4// Docs, props and live preview: https://ds.interlace.tools/c/brand-logo5// What changed since: https://ds.interlace.tools/c/brand-logo#history6// Generated banner — keep it, the upgrade diff reads this version.78/**9 * @interlace/ui — BrandMark + BrandLogo (the canonical Interlace nav lockup)10 *11 * The locked two-bar Interlace mark plus the lowercase monospace wordmark12 * "interlace". This is the SAME lockup eslint.interlace.tools ships in its13 * top nav — one component so every *.interlace.tools site renders an14 * identical brand header instead of hand-copied SVG.15 *16 * ## Geometry (locked — never bend)17 *18 * viewBox 0 0 100 100, two rx-14 bars (62×28) rotated -30° about the19 * center; orange bar leads upper-left, green bar lower-right. See the20 * brand-mark favicons (apps/registry/public/favicon.svg) for the same21 * geometry.22 *23 * ## Color contract24 *25 * Bar fills read `var(--brand-mark-bar-o)` / `var(--brand-mark-bar-g)` —26 * theme-paired decorative fills defined in27 * `packages/ui/styles/interlace-theme.css` (light #a84c17/#0a6b47, dark28 * #f4794a/#0d9460). Consumers outside this monorepo (e.g. the eslint docs29 * site) define the same two custom properties and the lockup follows their30 * theme switch automatically.31 *32 * | Rule | Concept | Where in this file |33 * | ---- | ------------------------------ | ----------------------------------------------- |34 * | R2 | Travels (high) | Zero product nouns beyond the brand itself |35 * | R4 | Extends native el | `React.ComponentProps<'svg'>` / `<'span'>` |36 * | R6 | data-slot on every named part | `brand-mark` / `brand-logo` |37 * | R7 | className merged + ...rest | `cn(...)` + `{...props}` on both parts |38 * | R18 | Tailwind only — no inline style| SVG geometry is numeric attrs, fills are tokens |39 * | R19 | Tokens only — no raw hex | `var(--brand-mark-bar-*)` |40 * | R23 | CLS=0 | Fixed width/height on the SVG |41 * | R25 | Server component | no hooks → no 'use client' |42 * | R26 | a11y | Mark is aria-hidden; the wordmark names the brand |43 */4445import { cn } from '@/lib/utils';4647// … truncated
More from interlace-ui
All 140 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| A11y Startera11y-starter | interlace-ui | Components | Free | no deps | |
| Accordionaccordion | interlace-ui | Components | Free | no deps | |
| Alertalert | interlace-ui | Components | Free | no deps | |
| Alert Dialogalert-dialog | interlace-ui | Components | Free | no deps | |
| Animated Gradient Textanimated-gradient-text | interlace-ui | Components | Free | no deps | |
| Animated Grid Patternanimated-grid-pattern | interlace-ui | Components | Free | no deps | |
| Animated Listanimated-list | interlace-ui | Components | Free | no deps | |
| Article Cardarticle-card | interlace-ui | Components | Free | no deps |
