Free, open-source Rails UI components from Rails Blocks, ready to browse, copy, and install in your Rails app.
This repo is the source for the free Rails Blocks component files. You can read the docs, inspect the examples, or use the Rails Blocks CLI and MCP server to install components from GitHub for you.
registry.json- the component index used by the Rails Blocks CLI and MCP server.components/- docs, usage examples, unpacked ERB/ViewComponent source files, and package manifests for each free component.stylesheets/rails_blocks.css- the Rails Blocks custom CSS used by the components.stimulus_controllers/- Stimulus controllers used by the free components.packages/0.1.1/- immutable zip packages and SHA256 checksums.
Install components with the Rails Blocks CLI:
rails-blocks list --free
rails-blocks install accordion --as erb_template
rails-blocks update stimulus --all --freeThe CLI reads this repo directly, so free components can be installed without signing in to Rails Blocks.
Install the Rails Blocks CLI skill in AI agents that support Agent Skills:
npx skills add Rails-Blocks/components --skill rails-blocks-cliThe skill teaches agents to use the rails-blocks CLI directly, with dry-run previews before file writes.
The free Rails Blocks components in this repository are published under the MIT License.