SearchCtrlK

  • ↑↓navigate
  • ↵open
  • escclose

Can’t find it? Contact us

LogoSentence

Social proof as a sentence.

Open in a new tab
View code
tsx
<LogoSentence>
	Trusted by <span mix={[whiteSpace("nowrap")]}><img src={northwind} alt="Northwind" />,</span>{" "}
	<span mix={[whiteSpace("nowrap")]}><img src={voltage} alt="Voltage" />,</span>{" "}
	<img src={fernway} alt="Fernway" /> and 2,000 on-call teams.
</LogoSentence>

Demo landings

Whole pages built only from @sdxc/ui, each for an invented product with its own palette and type. They open in a new tab.

Every demo, landings and docs sites alike, is listed in the demo gallery.

Installation

An ordinary dependency: install it, import the theme once, and import the component where it is used.

Terminal
npm add @sdxc/ui remix
typescript
import "@sdxc/ui/theme.css";

Usage

typescript
import { LogoSentence } from "@sdxc/ui/landing";

Sets its children as one centered, balanced line of prose: 1.25rem on a phone and 1.75rem from the lg container, weight 500 in the muted ink, with each mark scaled to the type so the line keeps an even rhythm.

Props

Read from the component's own types, so every prop, every default and every allowed value is listed.

PropTypeRequiredDescription
childrenRemixNodeYesText with <img> or inline-SVG marks between the words. Each mark sits on the text's baseline at 0.8em (times its --logo-scale) in the heading ink. Keep a mark and its trailing comma in one nowrap span so a line never opens on it.

Also accepts everything in TagProps<"p">.

@sdxc/ui

Can’t find it? Contact us