2.9.7






Caption

Light UI

Caption
Caption Large
Subcaption

Close
<%= pb_rails("caption", props: { text: "Caption" }) %>
<%= pb_rails("caption", props: { text: "Caption Large", size: 'lg' }) %>
<%= pb_rails("caption", props: { text: "Subcaption", size: 'xs' }) %>
Dark UI

Caption
Caption Large
Subcaption

Close
<%= pb_rails("caption", props: { text: "Caption", dark: true }) %>
<%= pb_rails("caption", props: { text: "Caption Large", size: 'lg', dark: true  }) %>
<%= pb_rails("caption", props: { text: "Subcaption", size: 'xs', dark: true  }) %>
Available Props
id
data
classname
aria
children
dark
size
tag
text