Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flet-iconoir

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flet-iconoir

the Iconoir library, wrapped for Flet.

  • 0.3.0
  • PyPI
  • Socket score

Maintainers
1

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!

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc