Logo
Brand mark. Renders the Material Bank logo by default; pass mark (and
label) to show your own. Uses currentColor for fill, so colour can be
controlled via text-* classes.
Usage
Best practices
Recolour the mark with a
text-*class - it fills fromcurrentColor; passingfill/a hex defeats the single-source colour and breaks dark-mode inheritance.Size with the
sizepreset (sm–xl), not aclassNamewidth/height - presets keep the mark on the sharedComponentSizescale.Don't add your own
aria-label/role-Logoalready shipsrole="img"+ "Material Bank" (change the name withlabel); wrap it in a link only when you need a click target.To use your own brand, pass
markas SVG shapes in a 48x48 viewBox filled withcurrentColor, and a matchinglabel- don't wrap or overlay the default mark.
Props
Composition
Used by