sutra_ui
Phoenix LiveView components with CSS-first theming and dark mode
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install Sutra UI?โผ
Run `npx skills add gurujada/sutra_ui --all -g -y` in your terminal to install this skill globally. Then add the sutra_ui package to your mix.exs dependencies and run `mix sutra_ui.install` in your Phoenix project.
What is Sutra UI used for?โผ
It is a Phoenix LiveView component library inspired by shadcn/ui, offering 55 components like buttons, forms, dialogs, and calendars. It helps you build accessible, themeable web interfaces without any external JavaScript frameworks.
Does Sutra UI need React or npm packages?โผ
No. Sutra UI is pure Phoenix LiveView and uses colocated hooks, so there is no React, no npm dependencies, and no node_modules bloat.
How do I customize Sutra UI themes?โผ
Override CSS variables like --primary and --radius in your app.css after importing sutra_ui.css. You can even paste theme variables directly from shadcn/ui themes, and dark mode is built in.
Which Phoenix versions does Sutra UI support?โผ
It requires Elixir 1.20+, Phoenix 1.8+, Phoenix LiveView 1.2+, and Tailwind CSS v4. Phoenix 1.8 is needed because the library relies on colocated hooks.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core