CMS Index Variable
April 17, 2025
We’re excited to introduce a new Index
variable for CMS lists, unlocking layout options that weren’t possible before. You can now make the first card span two rows or two columns in a grid for a more dynamic look. This addition also enables conditional Component Variants based on item position, letting you alternate between left and right-aligned cards, or switch between filled and non-filled backgrounds. Lastly, this update gives you precise control over layout details, like showing dividers only between items. Check out the example site showed in the video, and remix it to take a look at its setup. This release also includes fixes, improvements, and other additions.
Added
Added an
Index
variable to CMS items in stacks and gridsAdded the ability to quickly access the CMS by hitting
⌥C
Added ability to click the field title in the item view to edit
Added an extra menu in the item view to add new items
Added a menu option to sort collections alphabetically
Added
Is Odd
andIs Even
transforms for numbersAdded the ability to pan with the CMS overlay open
Added image min/max limits to the Gallery variable
Added
Is Set
variable condition to the Date fieldAdded option to set Date as a non required field
Improved
Improved the look of dividers between CMS items
Improved handling of CSV email paste in the CMS
Improved the search UX in CMS and localization
Improved table cell selection via context menu
Improved table content wrapping in rich text
Improved table controls for mobile devices
Improved bullet point styling for CMS lists
Fixed
Fixed a rich text bug when using
⌘↓
and⌘↑
Fixed a visual bug with the draft header border
Fixed
Esc
key closing the entire CMS overlayFixed
Esc
in rich text replacing cell contextFixed the pagination property in breakpoints
Fixed image picker placeholder not clearing
Fixed gallery image upload crash via picker
Fixed icons for YouTube and Vimeo blocks
Fixed a table selection issue in Safari