{# app/templates/admin/components.html #} {% extends "admin/base.html" %} {% block title %}UI Components{% endblock %} {# ✅ CRITICAL: Link to Alpine.js component #} {% block alpine_data %}adminComponents(){% endblock %} {% block extra_head %} {# Chart.js for charts section #} {% endblock %} {% block content %}
Copy-paste ready UI components for your admin pages. All components support dark mode and are fully accessible.
Pro Tip
Click any code block to copy it to your clipboard!
This is a basic card component with a title and description.
| Name | Status | |
|---|---|---|
| John Doe | john@example.com | Active |
| Jane Smith | jane@example.com | Pending |
Are you sure you want to perform this action? This cannot be undone.
Charts are provided by Chart.js . Note that default legends are disabled and you should provide descriptions for your charts in HTML.