šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

simple_form-tailwind

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple_form-tailwind

0.2.0
Rubygems
Version published
Maintainers
1
Created
Source

SimpleForm::Tailwind

Used to add a base simple_form configuration with Tailwind CSS classes for form attributes.

NOTE: This simple_form configuration is optimized for Rails 7> and Tailwind CSS 4.

Prerequisites

Before installing this gem, make sure you have installed Tailwind CSS in your Rails application:

./bin/bundle add tailwindcss-ruby
./bin/bundle add tailwindcss-rails
./bin/rails tailwindcss:install

Installation

Add this line to your application's Gemfile:

gem 'simple_form-tailwind'

Then execute:

$ bundle install

Or install it yourself as:

$ gem install simple_form-tailwind

Usage

To use this simple_form configuration, you need to ensure that your application uses simple_form to generate its forms. Run the generator to add the following file to your application config/initializers/simple_form_tailwind.rb:

$ rails g simple_form:tailwind:install

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/tarellel/simple_form-tailwind.

License

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

FAQs

Package last updated on 09 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts