2.9.7






Icon Value

Default

93

5

15m

Close
<%= pb_rails("icon_value", props: {
  icon: "heart",
  text: "93"
}) %>

<br>

<%= pb_rails("icon_value", props: {
  icon: "comment",
  text: "5"
}) %>

<br>

<%= pb_rails("icon_value", props: {
  icon: "clock",
  text: "15m"
}) %>
Align

93

5

15m

Close
<%= pb_rails("icon_value", props: {
  icon: "heart",
  text: "93"
}) %>

<br>

<%= pb_rails("icon_value", props: {
  icon: "comment",
  text: "5",
  align: "center"
}) %>

<br>

<%= pb_rails("icon_value", props: {
  icon: "clock",
  text: "15m",
  align: "right"
}) %>
Available Props
id
data
classname
aria
children
text
icon
align