Overview
The main links component displays a horizontal carousel of clickable links with icons, perfect for quick navigation to categories, special pages, or promotional sections. It can display either custom links or store categories.Location
Component path
Configuration
Intwilight.json, this component is identified by key 2b1b130b-5b37-422a-9683-e0fd367460c0.
Available fields
Optional section heading displayed above the links
Merge this component with the previous one, making them appear as a single cohesive element. Particularly useful when the previous component is “Enhanced slider”.
Display navigation arrows for the carousel
Display category links instead of custom links. Category images can be shown with each link.
Select categories to display (only visible when
show_cats is true)Collection of custom links (min: 3, max: 100, hidden when
show_cats is true)Salla icon class for the link
Link title text
Link destination. Can be a product, category, brand, page, blog article, blog category, offers, brands page, blog page, or custom URL.
Usage example
Template structure
With custom links
With categories
Link types
The component supports various link sources:- products: Link to a specific product
- categories: Link to a product category
- brands: Link to a brand page
- pages: Link to a custom page
- blog_articles: Link to a blog article
- blog_categories: Link to a blog category
- offers_link: Link to the offers page
- brands_link: Link to all brands
- blog_link: Link to the blog
- custom: Custom external URL
Merge behavior
Whenmerge_with_top_component is enabled:
Styling
The component uses these main CSS classes:.s-block--categories: Main container styling.slide--one-sixth: Each link occupies 1/6 of the slider width.slide--cat-entry: Link styling with icon and text.merge-with-top-component: Special positioning for merged display
Default examples
The component comes with these default links:- Ready-made product (sicon-packed-box)
- Custom service (sicon-fabric-swatch)
- Food & beverages (sicon-cake)
- Digital product (sicon-game-controller-alt)
- Digital card (sicon-barcode-scan)
- Product bundle (sicon-inbox-full)
- Bookings (sicon-calendar-date)
Category images
When showing categories with images:- Images are displayed as 64×64px rounded circles
- If no image is available, the category icon is shown instead
- Images have proper alt text for accessibility