0.0
The project is in a healthy, maintained state
Component library built for Ruby on Rails with first-class support for ActionView using ViewComponent.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

AtomicView

Component library built for Ruby on Rails with first-class support for ActionView using ViewComponent.

Installation

Install AtomicView from RubyGems by adding it to your Gemfile, and then bundling.

# Gemfile
gem "atomic_view"
bundle install

In your tailwind.config.js, add:

const execSync = require("child_process").execSync;
const atomicViewPath =
  execSync("bundle show atomic_view", { encoding: "utf-8" }).trim() +
  "/lib/atomic_view/components/**/*.{erb,rb}";

module.exports = {
  content: [
    // other paths...
    atomicViewPath,
  ],
};

Getting Started

There isn't anything to get started on yet!

Leading principles

  1. Work with Ruby on Rails out of the box by supporting ActionView and it's helpers
  2. Build with accessibility and responsiveness at the forefront
  3. Provide really good defaults, but allow flexibility with theming and styling

License

The gem is available as open source under the terms of the MIT License.