Component usage
Add testimonials to your home page:Variables
Maximum number of testimonials to display
Type of reviews to display:
store- All store reviewsproduct- Product-specific reviewsall- All available reviews
Sorting order for reviews:
latest- Newest reviews firstoldest- Oldest reviews firstrating_high- Highest rated firstrating_low- Lowest rated first
When true, hides customer names and profile information
URL for “View All Reviews” link. If empty, the link is hidden
Example with all options
Example hiding customer info
Example for product reviews
The salla-reviews component automatically handles loading states, pagination, and responsive layouts.
Review content
Each review typically includes:- Customer name and avatar (unless hidden)
- Star rating (1-5 stars)
- Review text
- Review date
- Product information (for product reviews)
Configuration in twilight.json
This component is registered intwilight.json under features: