ArthurClemens
PrimerLive - a collection of LiveView components that implements GitHub's Primer Design System
The last couple of months I’ve been working on a LiveView UI library based on https://primer.style/css/ (the LiveView 0.18 update caused a bit of a rewrite, but made the code a lot easier to work with).
With around 40 components in all, the result is almost at parity with Primer CSS.
It’s been a fun learning experience. Coming from SPA frontend applications, I had several occasions I needed to rethink my approach to make things work the “LiveView way”, but I think I get the hang of it now…
Let me know what you think!
- Source code: GitHub - ArthurClemens/primer_live: An implementation of GitHub's Primer Design System using Phoenix LiveView
- Documentation: PrimerLive — PrimerLive v0.1.2
- Storybook and examples: https://quiet-dew-5768.fly.dev/
Most Liked
ArthurClemens
I’ve updated the documentation: Installation and usage - PrimerLive Storybook
ArthurClemens
New URL for the storybook: https://primer-live.org/
ArthurClemens
You can do without JavaScript if you don’t need menus, dialogs or drawers. You’ll still need to include the CSS from primer-live, but you could opt to use a content delivery service such as unpkg: https://unpkg.com/primer-live/dist/primer-live.css or download it and import.







