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
- Name: Fluent System Icons
- Icon Version (preset default): 1.1.261 (example)
- Source: https://github.com/microsoft/fluentui-system-icons
License and Attribution
- Icons and code: MIT License (per repository license)
- Attribution: Microsoft Fluent UI System Icons — https://github.com/microsoft/fluentui-system-icons
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 providedstyleparameter. - 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, andglyphmap-light.jsonwhen available). The provider will use the style-specific map for better name coverage. - Omitting metadata uses TTF-only extraction (needs
fonttools).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ttkbootstrap_icons_fluent-0.2.0.tar.gz.
File metadata
- Download URL: ttkbootstrap_icons_fluent-0.2.0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce93ee012d1df058c56cf8ccede83bc0e1ae4665ab6c32b09c2bb8e8f10d1209
|
|
| MD5 |
2a9d640e169678bf0e1d23e10121aab9
|
|
| BLAKE2b-256 |
87f858f1f92148971a32961f209df2ffefea41966cea339f479fab6b80d96a80
|
File details
Details for the file ttkbootstrap_icons_fluent-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ttkbootstrap_icons_fluent-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbce5f47164ac45b77ff975c7742a65bcf3c0922be3e2215bd6b29a1ad9b8d2f
|
|
| MD5 |
8fbb8d2172f17497e81cd4d8495c9d4e
|
|
| BLAKE2b-256 |
9c93091d25c64d96c40020781b22f7ee98957d068ba2d3214fc9e7b6e6dfa7e5
|