Skip to main content

Reflex Simple Icons

A Reflex wrapper for Simple Icons, the best library of SVG icons from the most popular brands.

Installation

pip install reflex-simpleicons

Usage

Import like so:

from reflex_simpleicons import simpleicons

Search for the logo you want to use on Simple Icons and click on the name. This will copy its name and you can paste it into the component.

reflex-simpleicons-web.PNG

Use in your Reflex UI:

By default it will have the color of the main text, switching automatically between light and dark mode. The default size is 48px.

simpleicons("python")

python-icon.PNG

Styling

You can customize the color and size of the icon by passing the color and size properties.

simpleicons("python"),
simpleicons("python", color="#3776AB", size=24),
simpleicons("python", color="red", size=48),
simpleicons("python", color="#ECD53F", size=67),
simpleicons("python", color="#5F259F", size=97),

python-icon-size-colors.PNG

Example

If you want to use the default HEX color of the brand you can add the property:

brand_color=True
import reflex as rx
from reflex_simpleicons import simpleicons


def demo_brands() -> rx.Component:
    return rx.el.div(
        simpleicons("7zip", brand_color=True, size=90),
        simpleicons(tag="Dell", brand_color=True, size=90),
        simpleicons(tag="Microsoft", brand_color=True, size=90),
        simpleicons(tag="Amazon", brand_color=True, size=90),
        simpleicons(tag="Apple", brand_color=True, size=90),
        simpleicons(tag="Spotify", brand_color=True, size=90),
        simpleicons(tag="3m", brand_color=True, size=90),
        simpleicons(tag="bitwarden", brand_color=True, size=90),
        simpleicons(tag="Dotenv", brand_color=True, size=90),
        class_name="demo-brands"
    )

brands_color.PNG

Disclaimer

By using this wrapper to access and use logos, you agree to the following terms and conditions:

  1. Intellectual property: Logos and trademarks found in this wrapper are the property of their respective owners. You do not acquire any ownership rights to the logos by using this plugin.

  2. Responsible use: You agree to use the logos responsibly and in accordance with intellectual property laws. You may not modify, distribute, reproduce, or use the logos in any way that may infringe the rights of their owners.

  3. Owner's permission: You are responsible for obtaining permission from the trademark owner before using their logo in any commercial or advertising context. The plugin does not give you permission to use the logos in this way.

  4. Limitation of liability: The plugin creators are not responsible for the misuse of logos by users. You are solely responsible for any damage or harm you may cause to brand owners by misusing logos.

  5. Indemnity: You agree to indemnify and hold harmless the wrapper creators from any claims, damages, or losses that may arise from your misuse of logos.

By using this wrapper, you represent that you have read and agree to the terms and conditions of this disclaimer.

Recommendation: It is recommended that users research the logo usage policies of the brands they are interested in before using their logos.

Release files for reflex-simpleicons 0.0.6

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

Source distribution (sdist)

Source distribution for reflex-simpleicons 0.0.6
File Size Uploaded
reflex_simpleicons-0.0.6.tar.gz 2.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for reflex-simpleicons 0.0.6
File Interpreter ABI Platform
reflex_simpleicons-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 3.9 MB

Release files / reflex_simpleicons-0.0.6.tar.gz

Download URL reflex_simpleicons-0.0.6.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
3dce2a57230d60d30d649eb421383f7a858cd74f45ce118fbbe0ffb1f2032e03
BLAKE2b-256 checksum
How to use checksums
940960c5774aa2051d1b0292cfa36fff289aeba8b8f25d3e15602dfa2e41987b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / reflex_simpleicons-0.0.6-py3-none-any.whl

Download URL reflex_simpleicons-0.0.6-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b049c2f5ff9ba476c5e5db4f773b9e5e624e18a0db5883220b765bb189ce3e07
BLAKE2b-256 checksum
How to use checksums
5fc73453e28c0e09ab9c7558a5086b897ad97cc201bfa2a0e7732d1d43dbdb34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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