Logo tile
A product's pixel mark, or its initial, in a 28px square. Decorative.
import { LogoTile } from "@forgeron/ui";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
| Prop | Type | Default | Description |
|---|---|---|---|
icon | IconDefinition | — | Its pixel brand mark, drawn at 16px. |
name | string | — | Without an icon, its first letter is drawn. |
className | string | — | Extra classes. |