Ruby on Rails Setup

Update your Gemfile

gem 'playbook_ui'

Bundle Install


Add the View Helper to Enable Rails Kits

# app/controllers/application_controller.rb
 helper Playbook::PbKitHelper

Add the sassc-rails Gem Dependency if Using Asset Pipeline

gem "sassc-rails"

Import the Kit Styles (Asset Pipeline)

# app/assets/stylesheets/application.scss

 @import "reset";
 @import "playbook";

or be selective

# app/assets/stylesheets/application.scss

 @import "tokens/index";
 @import "pb_body/body";

From here all of our display kits should work for you nicely