Back to app
Configuration
Components
  • Content

    • Typography
    • Table
    • Icon
    • Image
    • Scaffold
  • Forms

    • Input
    • Input Group
    • Select
    • Checkbox
    • Radio
    • Switch
    • ActionText
    • Validation
  • Components

    • Accordion
    • Alert
    • Avatar
    • Badge
    • Breadcrumb
    • Button
    • Card
    • Combobox
    • Dropdown
    • Flash
    • Modal
    • Navigation
    • Pagination
    • Tab
    • Toast
    • Tooltip
  • Authentication

    • Overview

      Devise

      • Overview
      • Sign up
      • Sign in
      • Change password
      • Reset password
      • Confirmation
      • Edit account
      • Unlock

      Static

      • Overview
      • Sign up
      • Sign in
      • Change password
      • Reset password
      • Confirmation
      • Edit account
      • Unlock
  • Mailers

    • Overview
    • Layout
    • Minimal
    • Promotion
    • Transactional
    • Devise
  • Helpers

    • Overview
    • Icon
    • Nav Link
    • Email Action
    • Email Callout
    • Email Spacer
    • Demo Avatar
    • Rails UI Head
Docs
Launchpad
Source code
Get full access

Helpers

Overview

Overview

Rails UI includes several useful view helpers to enhance your app and mailer interfaces.

We've taken a lean approach to helpers, focusing on essential functionality while giving you the flexibility to customize and extend your Rails app as needed using your own helpers.

Icon

Render SVG icons inline using the railsui-icon gem.

Nav Link

A dynamic nav link helper that makes it easy to add active states to your nav links.

Email action

Buttons in emails are hard. This helper makes theme easy.

Email callout

A simple extraction for a callout in an email.

Email spacer

A clever way to add consistent vertical spacing in emails.

Demo Avatar

A fun helper that makes rendering placeholder avatars easy.

Rails UI Head

A bundled helper responsible for rendering a collection of partials in the head tags of your app.