Components

Alert component for Rails

Have to alert your users about something? Are there form validation errors? Or maybe you want to highlight that new feature in your app? With the AlertComponent, built with ViewComponent and Tailwind CSS (and a tiny Stimulus controller) you get a super-versatile component that does all that.

  • Integrates also with ActiveModel::Errors
  • Default # Get this component

    ⚠️ JavaScript is disabled for this preview.
  • Alert # Get this component

    ⚠️ JavaScript is disabled for this preview.
  • Alert, with close icon # Get this component

    ⚠️ JavaScript is disabled for this preview.
  • Success # Get this component

    ⚠️ JavaScript is disabled for this preview.
  • Success, with actions # Get this component

    ⚠️ JavaScript is disabled for this preview.
  • Form errors # Get this component

    Simply pass the ActiveModel::Errors object for the validation errors.⚠️ JavaScript is disabled for this preview.
  • Form errors, transparent background # Get this component

    Simply pass the ActiveModel::Errors object for the validation errors.⚠️ JavaScript is disabled for this preview.
  • New feature, horizontal, gray background # Get this component

    ⚠️ JavaScript is disabled for this preview.
  • New feature, vertical, colored background # Get this component

    ⚠️ JavaScript is disabled for this preview.
  • New feature, vertical, colored, transparent background # Get this component

    ⚠️ JavaScript is disabled for this preview.

The library of components is continuously evolving, with new components added regularly. See the roadmap for a glimpse of future enhancements, and check out the changelog for the latest additions and updates.

UI components for Ruby on Rails apps

$ 129 one-time
payment

Get Access
  • One-time Payment

  • Access to the Entire Library

  • Built for Ruby on Rails (inc. Rails 8)

  • Designed with Tailwind CSS and Enhanced with Hotwire

  • Updates for 12 months