Skip to content

Logo Cloud One

The Logo Cloud One block is a simple, composable logo cloud section that displays a series of brand or partner logos in an auto-scrolling carousel. It loops continuously, pausing on hover or focus for accessibility.

LogoCloudOne is assembled from the following components:

ComponentRole
CarouselProvides the auto-scrolling, looping slide behaviour
ContentImageRenders each logo with responsive <picture> support

Shared internals (logo-cloud-internals) provide the LogoCloudProperties type, image profile, and CMS mapper utilities used by all logo cloud variants.

Below is an example of how to use LogoCloudOne in your site.

import { LogoCloudOne } from "@/rokkit200-ui/blocks/logo-cloud/variants/logo-cloud-one/logo-cloud-one";
import { mapCmsType } from "@/rokkit200-ui/lib/content-mapper/content-mapper-util";
import { logoCloudCmsMappers } from "@/rokkit200-ui/blocks/logo-cloud/internals/lib/logo-cloud-utils";
const properties = mapCmsType(logoCloudCmsMappers, logoCloudResponse);
return <LogoCloudOne {...properties!} />;

All visual customisation is done via className props — pass Tailwind classes to adjust media styling. No additional CSS or theme tokens are required.

Desaturate logos by default and restore colour on hover, useful for keeping the section visually subdued until a user interacts.

Apply rounded corners and a subtle shadow to each logo image for a card-like presentation.

Add a border and inner padding around each logo for a contained, tile-style layout.

Extends LogoCloudProperties (from logo-cloud-internals).

PropTypeDefaultDescription
mediaLogoCloudMedia[]Array of image sources and profiles for each logo.
classNamestringClasses applied to the root <section> element.
textContainerClassNamestringClasses applied to the text content wrapper.
headingClassNamestringClasses applied to the heading element.
bodyClassNamestringClasses applied to the body text wrapper.
linksClassNamestringClasses applied to the links wrapper.
mediaContainerClassNamestringClasses applied to the media container <div>.
mediaClassNamestringClasses applied to each ContentImage element.
  • The carousel auto-scrolls with loop enabled, but pauses on mouse enter (stopOnMouseEnter) and on focus (stopOnFocusIn) so users are not forced to interact with moving content.
  • Logo images are rendered with decorative set, marking them as presentational. If logos require identification, provide meaningful AltText in the CMS data.
  • The carousel carries an aria-label of “Logo Cloud Carousel” for assistive technology.