Brand
Logo
OpenPerf mark as a scalable icon or an animated particle figure.
import { Logo } from "@openperf/deft";
<Logo.Root />;When to use
| Need | Component |
|---|---|
| Product mark in the interface | Logo.Root |
| One large decorative brand graphic on a page | Logo.Particles |
| Mark on a square tile for a standalone page | Standalone.Logo in Standalone |
| Another shape with the same particle effect | Particles |
Mark
Logo.Root is 20px in the accent color and carries the accessible name "OpenPerf". Change the size or the fill through className:
<Logo.Root className="size-8" />Particles
Logo.Particles draws the mark on a 26 by 26 grid of dots. It has no size of its own: give it a height and a width, and make it wide, because the particles drift to the left and to the right of the mark.
<Logo.Particles className="h-44 w-full" />It is decorative and hidden from assistive technology. Server rendering and reduced motion work as in Particles.
API
Neither part declares props of its own. Size and recolor both through className.