title | description |
---|---|
River |
Use the river component to introduce a feature using a type and media pairing. |
import ComponentLayout from '../../../src/layouts/component-layout' export default ComponentLayout
Use rivers to showcase features and introduce topics. Rivers are composed of images or videos paired alongside text content like headings, paragraphs, and links.
A river’s content should be short and concise, no longer than 3 or 4 sentences and in a single paragraph when possible.


Two or more rivers can be stacked to guide the user through a set of features. When stacking rivers, alternate between left and right alignments to create a more dynamic reading flow. When alternating alignments, use a 40:60
image to text ratio, otherwise keep the ratio to 50:50
.
It is possible to use 2 or more following left or right river to create a simple alignment promoting easy scroll scan.


Note that too many rivers can make the design feel repetitive. In that situation, consider introducing a breakout section or break the content with a different component, such as pillar or card to provide a better visual hierarchy and experience. For example, use the river for the top features you want to highlight and then use pillars to showcase the rest.


A single river component acts as a section and it should not include any child sections within in. Multiple rivers can be used to conform a section. In that case, the section should include a section intro that introduces the main topic or features.


A river breakout component has an image that fills the width of the container while providing more space for content such as text and lists.
This is useful when you want to create a highlight which can be used to create more emphasis or simply break a monotonous vertical flow of left/right rivers. It can also be helpful on smaller viewports to avoid stacking two images or two chunks of text from adjacent river components.
As its name suggest, a river breakout should not be the first in the stack, it should be positioned in-between two standard rivers.
Some examples of when to use a river breakout:
- Expand on more complex feature that require more room for content
- Give designer a tool to emphasize the feature story
- Use a branded wallpaper in a more cinematic way than the standard 50/50 or 60/40 text-to-image column ratios


The headline in the river component must always be present, but the supplemental content is optional.


Limit supplemental content to a maximum of 500 characters or two timeline items to avoid overwhelming the user and disrupting the layout's balance.


River provides a heading as the main title and a body text as the main content that describes the adjacent visual. The heading should be short and concise and the body should describe the feature or topic in a short paragraph.
A river can include either an image or video to illustrate the feature or topic. The media should be relevant to the content and should not be used as a decorative element.
Always use high quality images and videos. Avoid using images with text or single logos. Ensure the image fills the provided container.
The image is automatically styled to fit the width of the parent container. If you have bespoke styling requirements, you can disable the provided default styles and style the image manually.
- We recommend using a river left as the first river of the flow to start with a visual and avoid stacking text with above section on mobile
- River components stacks create a unit, the set should be considered to be the main parent section. The parent section should be spaced as a regular section with the largest spacing while internal elements should use smaller spacing
- If the image is critical for the user to understand the message, default to right aligned. If the text is critical for the user to understand the image, choose left aligned.
River can include an optional call to action to link to more detailed content about the feature or topic.