<%# locals: (trend:) %> <% styles = trend_styles(trend) %>

<% if trend.direction == "flat" %> No change <% else %> <%= styles[:symbol] %><%= format_money trend.value.abs %> (<%= lucide_icon(styles[:icon], class: "w-4 h-4 align-text-bottom inline") %><%= trend.percent %>%) <% end %>