Skip to main content

toolkit for nicegui

Project description

niceguiToolkit

English| 简体中文

toolkit for NiceGUI

📦 Install

pip install niceguiToolkit -U

layout development tool

Visual Style Settings

layout development tool

Code Generation code generation

Tailwindcss auto completion support tailwindcss auto completion support

  • Jump to source code
  • Visual layout style settings
  • Generate code to source files
  • Support for tailwindcss
    • Auto-completion suggestions
    • Full-text search
    • Preview available; the interface displays the real-time effect when candidates are selected
  • generate props settings for each component
  • Custom settings

In your program's entry file, call the inject_layout_tool method

from nicegui import ui
from nicegui_toolkit import inject_layout_tool

# make sure to call this method before creating any UI components
inject_layout_tool()


ui.label("label")
ui.label("label with style").style("width:80%;")

with ui.card(), ui.card().style(""):
    ui.input("user name", placeholder="enter your name:")
    ui.label("xxxx").style("width:500px;")
ui.input("password", placeholder="enter your password:").style(
    "font-size:1.7rem;color:#a12d2d"
)

ui.run()

If you are using PyCharm:

from nicegui import ui
from nicegui_toolkit import inject_layout_tool


inject_layout_tool(ide="pycharm")

...

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

niceguitoolkit-0.3.0.tar.gz (255.5 kB view details)

Uploaded Source

Built Distribution

niceguitoolkit-0.3.0-py3-none-any.whl (264.9 kB view details)

Uploaded Python 3

File details

Details for the file niceguitoolkit-0.3.0.tar.gz.

File metadata

  • Download URL: niceguitoolkit-0.3.0.tar.gz
  • Upload date:
  • Size: 255.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.2 Windows/10

File hashes

Hashes for niceguitoolkit-0.3.0.tar.gz
Algorithm Hash digest
SHA256 39d005d7db019039121860644f02348ce471eb5917e9ec539c16d634eb512a64
MD5 0544808b71ae44fa200ea3d8259d4e21
BLAKE2b-256 5bd95ec97cf76f2d016a05300b3eb0a1968e8b8a08c2c7e290303a544aa4e53f

See more details on using hashes here.

File details

Details for the file niceguitoolkit-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: niceguitoolkit-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 264.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.2 Windows/10

File hashes

Hashes for niceguitoolkit-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6cc79bdceedc6a412ea2d50ce2957d29ad512315945e3de5661532df6604b15d
MD5 dcb790dd32e63f082d1eb92f2d474110
BLAKE2b-256 a2419b1b2f17ab43c6a5e0c1cbd3eb63fd66ef65a444bab2d1a896044ffb8e41

See more details on using hashes here.

Supported by

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