Rio Bootstrap 🌊 👢
Makes the fabulous icons from Bootstrap available in to Rio.
You can browse all icons on the Bootstrap website. The names in Rio are the same, except using underscores instead of dashes.
Installation 🛠️
rio-bootstrap is available on PyPI:
python -m pip install rio-bootstrap
Quickstart 🚀
To use the icons in your project just import this module, then use the icons as you'd use any other icon in Rio:
import rio
import rio_bootstrap # Import the module. This registers the icons with Rio.
class MyRoot(rio.Component):
def build(self) -> rio.Component:
return rio.Icon(
"bootstrap/wifi", # All icons are available as "bootstrap/<name>"
fill=rio.Color.BLUE,
min_width=5,
min_height=5,
align_x=0.5,
align_y=0.5,
)
app = rio.App(
build=MyRoot,
)
The icons will also show up in the Rio dev-tools, so you can easily browse them.
License ⚖️
The Python code in this project is available under the permissive MIT license. The icons themselves are not part of this repository. Check the Bootsrap icons repo for licensing information.
Metadata
Release files for rio-bootstrap 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rio_bootstrap-0.1.0.tar.gz | 222.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rio_bootstrap-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 444.4 kB
Release files / rio_bootstrap-0.1.0.tar.gz
| Download URL | rio_bootstrap-0.1.0.tar.gz |
|---|---|
| Size | 222.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0fd6f590376dc05e319540bffc1e42f5b4ca4d7f72f917fd5fc8be7d4f2960a
|
|
BLAKE2b-256 checksum How to use checksums |
62793a16d39542ad3c85b90999b02e9fadc5469a6fdd9b3e7876462fcad2acbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / rio_bootstrap-0.1.0-py3-none-any.whl
| Download URL | rio_bootstrap-0.1.0-py3-none-any.whl |
|---|---|
| Size | 222.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d32b616d066a18b35fc4118cb94412dc7196ae2d61d17168ceafbfa7007b01bd
|
|
BLAKE2b-256 checksum How to use checksums |
b6a3bcea7967cfa55a6e443d276beb034ce42af04cede0b32c27150fd5bcecce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|