ipywidgets icon indicating copy to clipboard operation
ipywidgets copied to clipboard

Styling (far, fas) for fontawesome icons

Open swelborn opened this issue 3 years ago • 0 comments
trafficstars

Using ipywidgets 8.

There are multiple versions of the same icon on fontawesome. For ex. "square" can be specified by far or fas to change whether it is filled or not.

However, this:

from ipywidgets import *
a = Button(icon="fas square")
b = Button(icon="far square")
HBox([a, b])

produces this: image

Is this already possible and I just don't know how to do it?

swelborn avatar Feb 05 '22 22:02 swelborn