templUI Pro coming soon  

50% OFF Join Waitlist

Chart

Beautiful charts. Built using Chart.js.

TailwindCSS
Alpine.js

Usage

1. Add the script to your page/layout:

// Option A: All components (recommended)
@utils.ComponentScripts()

// Option B: Just Chart
@components.ChartScript()

2. Use the component:

@components.Chart(components.ChartProps{...})

Examples

Bar Chart - Multiple

Bar Chart - Horizontal

Bar Chart - Negative

Bar Chart - Stacked

Line Chart

Line Chart - Linear

Line Chart - Step

Line Chart - Multiple

Area Chart

Area Chart - Linear

Area Chart - Step

Area Chart - Stacked

Pie Chart

Pie Chart - Stacked

Pie Chart - Legend

Doughnut Chart

Doughnut Chart - Stacked

Doughnut Chart - Legend

Radar Chart

Radar Chart - Stacked

© 2025 templui. Stupid code not excluded.