Introduction
Styled and accessible UI components, to integrate with your JinjaX projects.
How to use ¶
-
Install the
jinjax-uipython library doingpip install jinjax-ui-- or --
Copy the components folder from Github into your project.
-
Add the folder to your JinjaX catalog:
import jinjax_ui catalog.add_folder(jinjax_ui.components_path, prefix="ui") -
Add the global CSS and JS files to your project:
<head> <ui:Globals /> ... -
Use the UI components in your components/templates:
<ui:Alert> ... </ui:Alert>