Skip to main content

Material Symbols icons for Flet apps.

Project description

flet-material-symbols

A Flet extension that provides Material Symbols icons for use in Flet apps.

Material Symbols is Google's latest icon library, offering outlined, rounded, and sharp variants for over 3,000 icons. The icons support variable font axes: fill, weight, grade, and optical size.

Usage

import flet as ft
from flet_material_symbols import Symbols

def main(page: ft.Page):
    page.add(
        ft.Icon(Symbols.HOME),
        ft.Icon(Symbols.HOME_ROUNDED),
        ft.Icon(Symbols.HOME_SHARP),
    )

ft.run(main)

Icon variants

Each icon is available in three styles:

  • Outlined (default): Symbols.ICON_NAME
  • Rounded: Symbols.ICON_NAME_ROUNDED
  • Sharp: Symbols.ICON_NAME_SHARP

Variable font axes

Icons can be customized with variable font axes using the standard ft.Icon properties:

ft.Icon(
    Symbols.SETTINGS,
    fill=1,        # 0.0 = outlined, 1.0 = fully filled (continuous 0–1)
    weight=700,    # 100–700
    grade=0.25,    # -50–200
    optical_size=48,  # 20–48
)

Updating icon data

To regenerate the icon data after a material_symbols_icons package update, run from the flet-material-symbols directory:

uv run scripts/generate_icons.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flet_material_symbols-0.1.1.tar.gz (165.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flet_material_symbols-0.1.1-py3-none-any.whl (167.5 kB view details)

Uploaded Python 3

File details

Details for the file flet_material_symbols-0.1.1.tar.gz.

File metadata

  • Download URL: flet_material_symbols-0.1.1.tar.gz
  • Upload date:
  • Size: 165.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for flet_material_symbols-0.1.1.tar.gz
Algorithm Hash digest
SHA256 42783a59d9f04d4e0a95ffbd64fa824bc7e175b2eebb5605ff4186084270e7aa
MD5 5564f5cecd619864d13436394f71988f
BLAKE2b-256 709594e141726a04cf0391d3158273350505f5018b0ed541f8ce6d2febee1614

See more details on using hashes here.

Provenance

The following attestation bundles were made for flet_material_symbols-0.1.1.tar.gz:

Publisher: publishing.yaml on Creeper19472/flet-material-symbols

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flet_material_symbols-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for flet_material_symbols-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab3430dae5881b8854fadc64eb3d71150e41270e9611a0ad52b4bbc4aa094732
MD5 62703a3832f3068b3e51569f7cced32b
BLAKE2b-256 c4dc22088e8dda662142d9615680a33134eec66a3e8be08e13883a65da36febe

See more details on using hashes here.

Provenance

The following attestation bundles were made for flet_material_symbols-0.1.1-py3-none-any.whl:

Publisher: publishing.yaml on Creeper19472/flet-material-symbols

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page