Skip to main content

flet iconoir

the Iconoir library, wrapped for Flet.

usage

adds a new IconoirIcon function. use it like this with a name from the Iconoir list!

page.add(
    IconoirIcon(
        icon_name="wifi",
        icon_set="regular",  # or "solid" !
        icon_color=ft.colors.PRIMARY,  # default
        **kwargs,  # passed to the flet.Image this thing returns!
    )
)

also adds the IconoirIconButton, which is a class with more parameters.

page.add(
    IconoirIconButton(
        page=page,  # reference to the page this button will be on
        icon_name="settings",
        icon_set="regular",
        on_click=lambda: print("clicked!"),  # defaults to None
        icon_size=16,
        icon_color=ft.colors.ON_PRIMARY,
        hover_color=ft.colors.PRIMARY_CONTAINER,
        bg_color=ft.colors.ON_PRIMARY_CONTAINER,
        padding=8,
        circular=True,
        border_radius=8,  # for when circular is False
    )
)

quick, dirty, simple, hopefully helpful. find me on github and reach out if you have questions. have a day!

Release files for flet-iconoir 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flet-iconoir 0.3.0
File Size Uploaded
flet_iconoir-0.3.0.tar.gz 255.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flet-iconoir 0.3.0
File Interpreter ABI Platform
flet_iconoir-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / flet_iconoir-0.3.0.tar.gz

Download URL flet_iconoir-0.3.0.tar.gz
Size 255.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ad7a92d157347472260c211630bd6378c5dfc46f44efad528f2e721f97f8b79a
BLAKE2b-256 checksum
How to use checksums
09ad814d61b79dd0f6884912fb8da2ee3facb1b3ff793a448c2c66ef13de9ea2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.6 Windows/10

Release files / flet_iconoir-0.3.0-py3-none-any.whl

Download URL flet_iconoir-0.3.0-py3-none-any.whl
Size 829.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10f3fab58e97fa7af8396f2552329ae97aff88b34b2c04a7d0d00f9b1ed74ee6
BLAKE2b-256 checksum
How to use checksums
1424f52b532b57bc8387f37a6a1b3c122be0b2467b14a9f3f0b5d5bae4143af0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.6 Windows/10

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page