What Are Component Slots and Properties in Relume Publish?
By the end of this doc, you'll be able to:
- Understand the three parts of every section: content, slots and properties
- Recognise a slot and change what fills it
- Identify which settings are properties
- Understand why some settings appear or disappear as you edit
What Are Slots and Properties?
Every section in Relume Publish is made of three parts:
- Content: the words, links and media in the section.
- Slots: areas where you choose what sits there, such as an image or a video.
- Properties: settings that control how the section is arranged and styled.
Slots answer "what goes here?" Properties answer "how does it look?"
What Is a Slot?
A slot is an area in a section that can hold different kinds of component (a reusable building block, such as an image, video or button).
The main example is a section's media area. It can hold an image or a video, and its settings change to match. An image shows settings like fit and aspect ratio. A video shows video settings instead.
You'll also find slots in:
- The icon or image on each card
- A group of buttons
.jpeg)
How Slots Behave
- Each slot holds one thing at a time.
- Every section has a fixed set of slots. You choose what fills them.
- Some slots are optional and can be hidden. Others are required.
What Is a Property?
A property changes how something looks or is arranged, not what it is. Making a section full screen is a property change. Swapping an image for a video is a slot change.
Common section properties:
- Column Ratio: how width is split between text and media
- Section Height: fit to content or fill the screen
- Section Padding: space above and below, or above only
- Section Scheme: the section's colour scheme
Parts inside a section have their own properties too, such as an image's fit and aspect ratio.
.jpeg)
Why Some Settings Come and Go
Some properties belong to whatever fills a slot. Image fit only appears while an image is in place. Swap it for a video and the video settings replace it.
Section properties, such as height and padding, stay the same whatever fills the slots.
Need Support?
Join Our Community
Learn from fellow Lumers or showcase your work with our community of 10k+ members.
Get Support
We've got your back. Get your questions answered.
We typically reply in 24 hours or less.