Skip to main content

Fluent Icons (font-based) provider for ttkbootstrap-icons

Project description

Fluent System Icons (ttkbootstrap-icons-fluent)

Fluent System Icons provider for ttkbootstrap-icons.

Install

pip install ttkbootstrap-icons-fluent

Requires ttkbootstrap-icons (installed automatically) and Pillow.

Info

License and Attribution

Usage

import tkinter as tk
from ttkbootstrap_icons_fluent import FluentIcon

root = tk.Tk()

regular = FluentIcon("home-16", size=24, color="#6f42c1", style="regular")
filled = FluentIcon("home-16", size=24, color="#6f42c1", style="filled")

tk.Button(root, image=regular.image, text="Regular", compound="left").pack()
tk.Button(root, image=filled.image, text="Filled", compound="left").pack()

root.mainloop()

This package registers a provider entry point, so the base icon previewer will automatically discover it.

Styles

  • Supported styles: regular, filled, light (if the Light font is present)
  • You may also pass fully-qualified names (e.g., home-16-filled). If the style suffix is missing, it is appended automatically based on the provided style parameter.
  • The previewer shows base names with a Style dropdown; copying an icon copies the base name. Use it with the chosen style in code for clarity.

Generate assets (developer)

# Quick build (Regular + Filled, and tries Light if available)
ttkicons-fluent-quick

# Preset build for a specific version (Regular)
ttkicons-fluent-build --preset fluent-regular --version 1.1.261

# Or direct URL to the zip (the tool extracts .ttf automatically)
ttkicons-fluent-build --font-url https://github.com/microsoft/fluentui-system-icons/releases/download/v1.1.261/FluentSystemIcons-Font.zip

Notes

  • The quick build writes per-style glyph maps when possible (e.g., glyphmap-regular.json, glyphmap-filled.json, and glyphmap-light.json when available). The provider will use the style-specific map for better name coverage.
  • Omitting metadata uses TTF-only extraction (needs fonttools).

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

ttkbootstrap_icons_fluent-0.2.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

ttkbootstrap_icons_fluent-0.2.0-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file ttkbootstrap_icons_fluent-0.2.0.tar.gz.

File metadata

File hashes

Hashes for ttkbootstrap_icons_fluent-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ce93ee012d1df058c56cf8ccede83bc0e1ae4665ab6c32b09c2bb8e8f10d1209
MD5 2a9d640e169678bf0e1d23e10121aab9
BLAKE2b-256 87f858f1f92148971a32961f209df2ffefea41966cea339f479fab6b80d96a80

See more details on using hashes here.

File details

Details for the file ttkbootstrap_icons_fluent-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ttkbootstrap_icons_fluent-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cbce5f47164ac45b77ff975c7742a65bcf3c0922be3e2215bd6b29a1ad9b8d2f
MD5 8fbb8d2172f17497e81cd4d8495c9d4e
BLAKE2b-256 9c93091d25c64d96c40020781b22f7ee98957d068ba2d3214fc9e7b6e6dfa7e5

See more details on using hashes here.

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