SurfaceBootstrap.Icon (surface_bootstrap v0.2.5)

Bootstrap icons, requires installation or CDN usage, see: https://icons.getbootstrap.com/#install

Properties

  • icon :string - Which icon to show.
  • color :string, values: @colors - Icon color.
  • style_color :string - Detailed css style colors.
  • rem_size :decimal - Size as defined in rem, must be specified in decimal format using as a string . as the decimal separator ("0.25", "1.5" etc).
  • role :string - Role prop for accessibility.
  • style :string - For manual style setting, will ignore style_color and rem_size.

Link to this section Summary

Link to this section Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Link to this function

render(assigns)

Callback implementation for Phoenix.LiveComponent.render/1.

Link to this function

update(assigns, socket)

Callback implementation for Phoenix.LiveComponent.update/2.