Rails Designer UI Components

UI components built with ViewComponent, designed with Tailwind CSS and enhanced with Hotwire. For manual instructions, see: https://railsdesigner.com/docs/start/
Icons/chart bar
Used 7 times
Created by
E Eelco from Rails Designer

Usage

Run this command in your Rails app directory in the terminal:

rails app:template LOCATION="https://railsbytes.com/script/Vp7sJJ"
Template Source

Review the code before running this template on your machine.

api_key = ask("What is your Rails Designer API key? Should've received it by email.")

abort "API key is required to continue" if api_key.blank?

add_source "https://#{api_key}@get.railsdesigner.com/private" do
  # NOTE: it's not recommended to hard-code the API key
  gem "rails_designer"
end

Bundler.with_unbundled_env { run "bundle install" }

after_bundle do
  rails_command("generate rails_designer:install")
end
Comments
Eelco from Rails Designer
For manual instructions, check out the quick-start guide.