{"repo":"getrailsui/railsui-stimulus","free":true,"listed":false,"github":"https://github.com/getrailsui/railsui-stimulus","clone":"git clone https://github.com/getrailsui/railsui-stimulus.git","description":"An ever-growing collection of Stimulus.js components built with Tailwind CSS.","language":"HTML","stars":117,"topics":["stimulus","railsui","stimulus-js","tailwindcss"],"license":null,"category":"self-hosted-apps","readme_excerpt":"Rails UI Stimulus.js Components A suite of Stimulus.js components built with Tailwind CSS for use in Rails UI. You can use these independently of Rails UI. View demo Pre-requsities You'll need to install and configure Stimulus.js in your project before using this package. Installation Option 1: Using importmaps (Recommended for Rails 7+) Rails 7+ ships with importmap-rails by default. This method doesn't require npm or a build step. 📚 Complete Importmap Guide → - Includes self-hosted setup, troubleshooting, and more. 1. Pin the package and its dependencies: 2. Add the required dependencies to your config/importmap.rb : 3. Add required CSS files to your app/assets/stylesheets/application.css or include via CDN: Or in your layout file: 4. Import components in your JavaScript entrypoint (e.g., app/javascript/controllers/index.js ): Option 2: Using npm/yarn/bun (For bundler-based projects) 📚 NPM/Bundler Setup Guide → - Detailed instructions for Vite, Webpack, esbuild, etc. Add the module railsui-stimulus Import it in your main entrypoint file. Documentation Setup Guides - IMPORTMAP.md - Complete importmap setup guide (Rails 7+) - BUILD.md - NPM/bundler setup guide (Vite, Webpack, etc.) Components - Clipboard - Count up - Combobox - Date range picker - Dropdown - Modal - Password Toggle - Range - Read more - Select all - Tab - Toast - Toggle - Tooltip Styles The examples provided come from some of the UI from Rails UI. You'll want to tweak this to match your needs, or go check o","default_branch":null,"files":null,"tree":[],"storefront":"/r/getrailsui","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/getrailsui/railsui-stimulus/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}