{"id":28190,"library":"slippers","title":"Slippers","description":"Django template components: build reusable components without writing Python. Current version 0.7.0, requires Python >=3.8.0. Actively maintained.","status":"active","version":"0.7.0","language":"python","source_language":"en","source_url":"https://github.com/mixxorz/slippers","tags":["django","components","templatetags","reusable","frontend"],"install":[{"cmd":"pip install slippers","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"component is a template tag, not a Python function. Must be used in Django templates.","wrong":"from slippers import component","symbol":"component","correct":"from slippers.templatetags.slippers import component"},{"note":"App config class for INSTALLED_APPS.","wrong":"from slippers import SlippersConfig","symbol":"SlippersConfig","correct":"from slippers.apps import SlippersConfig"}],"quickstart":{"code":"# settings.py\nINSTALLED_APPS = [\n    ...\n    'slippers',\n]\n\n# In your templates:\n{% load slippers %}\n\n{% component 'button' label='Click me' %}\n","lang":"python","description":"Add 'slippers' to INSTALLED_APPS, then use the component template tag."},"warnings":[{"fix":"Add {% load slippers %} at the top of your template.","message":"The component tag must be loaded with {% load slippers %} in every template that uses it. It is not available by default.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure files are in the correct location and named correctly.","message":"Component file names must match the component name and be placed in a 'components' directory inside your app's templates. e.g., myapp/templates/components/button.html.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade to 0.7.0 and use {% load slippers %}.","message":"The old 'slippers' tag loading mechanism (v0.5 and earlier) is deprecated.","severity":"deprecated","affected_versions":"<=0.5.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Add 'slippers' to INSTALLED_APPS and use {% load slippers %} in the template.","cause":"Missing 'slippers' in INSTALLED_APPS or missing {% load slippers %}.","error":"TemplateSyntaxError: 'slippers' is not a registered tag library."},{"fix":"Place component HTML file in <app>/templates/components/<component_name>.html","cause":"Component file missing or in wrong location.","error":"Component 'my_component' not found"},{"fix":"Run: pip install slippers","cause":"Package not installed.","error":"ModuleNotFoundError: No module named 'slippers'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}