Atoms / Logo tile

Logo tile

A product's pixel mark, or its initial, in a 28px square. Decorative.

import { LogoTile } from "@forgeron/ui";
/01 → Default
import { CloudflareIcon } from "@forgeron/icons";
import { LogoTile } from "@forgeron/ui";

// A pixel mark, or the initial when the product has none.
export default function Default() {
  return (
    <div style={{ display: "flex", gap: 12 }}>
      <LogoTile icon={CloudflareIcon} />
      <LogoTile name="Linear" />
    </div>
  );
}
API → Props
PropTypeDefaultDescription
iconIconDefinition—Its pixel brand mark, drawn at 16px.
namestring—Without an icon, its first letter is drawn.
classNamestring—Extra classes.