petalframework/petal_components
Phoenix + Live View HEEX Components observed · 2026-09-03
Health v2 · maintenance only
94/100
- Activity 100
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2
- age_days: 1785
- days_rel: 110
- days_push: 0
- n_releases_24m: 40
Adoption not part of the score
1052 stars · 101 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Petal Components is an MIT-licensed library of shadcn-style HEEx UI components (buttons, modals, tables, forms, sidebars, chat) for Phoenix LiveView apps, built on Tailwind v4. It ships with a hosted MCP server that exposes component schemas to AI coding tools like Claude Code and Cursor so they generate idiomatic markup.
Use cases
- add prebuilt ui components to a phoenix liveview app
- use shadcn-style components in elixir heex templates
- let claude code or cursor generate correct petal component markup via mcp
- build dashboards with sidebar, table, and modal components
- style phoenix forms and buttons with tailwind v4
- add accessible menus, tree views, and chat components to liveview
When to choose
- you build Phoenix or LiveView apps and want composable, copyable UI primitives
- you use AI coding assistants and want them to emit correct component usage
- you want Tailwind v4 components without React or a JS build step
When to avoid
- you use React, Vue, or another non-Elixir frontend stack
- your project is pinned to Tailwind 3 and you cannot upgrade
- you need a fully managed component product with paid support (consider Petal Pro instead)
Facets
library · maturity active
ui-components templating mcp form-handling accessibility web-development frontend developer-tools elixir browser phoenix liveview heex tailwindcss shadcn-style elixir hex-package ai-coding-tools web-server
9 sources
- readme: https://github.com/petalframework/petal_components · fetched 2026-09-03 · 28b31b048940
- homepage: https://petal.build/components · fetched 2026-08-29 · 47b7cc71388f
- site_page: https://petal.build/petal-pro/fundamentals/installation · fetched 2026-08-29 · f6c6111ba980
- site_page: https://petal.build/pro/releases · fetched 2026-08-29 · 05b5f5c9fd3b
- site_page: https://petal.build/petal-pro/changelog · fetched 2026-08-29 · 08885d8aacb2
- site_page: https://petal.build/petal-pro/fundamentals/changelog-system · fetched 2026-08-29 · b4e240fdca24
- site_page: https://petal.build/petal-components · fetched 2026-08-29 · 0493ed68575e
- site_page: https://petal.build/changelog · fetched 2026-08-29 · fe24c7cfd4b5
- site_page: https://petal.build/components_tailwind3 · fetched 2026-08-29 · ad6774013fd6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| petalframework/petal_components | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="petalframework/petal_components")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem