Poetry
The umbrella gem. One line installs the library proper: the engine, the components, and the default icon set. Everything else in the family is opt-in and listed below.
What the umbrella installs
poetry-core is the framework layer: the Rails engine, the component base class, the DSL that gives a component its style axes, options, parts and slots, the Stimulus integration, and the design-token foundation every theme is built on.
poetry-ui is the component
library itself: 88 accessible,
themeable components exposed as poetry_* helpers, nine
complete themes, the model-bound form builder, the vetted blocks, and
the agent surface that this site and the MCP tools read.
poetry-lucide is the default icon set: Lucide's icons vendored at a pinned commit and sanitized when vendored, so rendering an icon never parses, sanitizes, or fetches anything.
Install
Add the gem and run the installer. It wires the engine, the Tailwind entry point and the importmap pins, and writes the agent skills into the app.
gem "poetry"
bundle install
bin/rails generate poetry:install
From there poetry_button, poetry_dialog,
poetry_data_table and the rest are available in every
view; the installation guide
covers themes, charts and upgrades.
The ecosystem gems
Add what you use; nothing here is pulled in by the umbrella. The family releases in lockstep and every gem pins its siblings to its own version, so these resolve to the umbrella's release without version constraints.
- Charts: nine chart families computed in Ruby and shipped as finished SVG.
- Agent: the MCP server, the WebMCP runtime, the AG-UI relay and the A2UI catalog and renderer.
- Extract: a
DESIGN.mdand deterministic tokens from any public website. - Simple Form: the migration bridge for apps already on Simple Form.
gem "poetry"
gem "poetry-charts" # server-rendered SVG charts
gem "poetry-agent" # MCP server, WebMCP, AG-UI, A2UI
gem "poetry-extract" # DESIGN.md + tokens from any public site
gem "poetry-simple_form" # the Simple Form migration bridge