WildayUI
davidwinalda.github.io/wildayuiOverview
WildayUI is a simple, minimalist, and customizable library of pre-built components for Ruby on Rails applications. It empowers developers to quickly build user interfaces, enabling them to focus on bringing their ideas to life and creating impactful websites.
WildayUI's main goal is to provide static components (such as buttons, badges, etc.) and dynamic components (such as dropdowns, modals, etc.) that are easily customizable and extendable. Each page in the component documentation is divided into sections for static and dynamic components.
Open source on GitHub (MIT), published as wilday_ui on RubyGems, with a live demo.
In numbers
| Total downloads | 5,512 on RubyGems |
| Versions | 18, from 0.1.0 (9 December 2024) to 0.9.0 (25 December 2024) |
| Latest version | 0.9.0, downloaded 521 times |
| GitHub stars | 2 |
Counted on 24 November 2026.
Installation
To start using Wilday UI, add it to your Gemfile:
gem "wilday_ui"
Then install the gem:
$ bundle install
Then in your application layout file: app/views/layouts/application.html.erb, add the JavaScript tag to your application layout using the w_js helper:
<%= w_js %>
Seamless Rails Integration
WildayUI is built as a Rails engine, allowing effortless setup and native integration into your Rails applications without additional configuration.
For example, after installing WildayUI, you can instantly use the prebuilt w_button helper in your views like this:
<%= w_button "Click Me", variant: :solid %>
This renders a styled, ready-to-use button in your Rails application:
<button class="w-button w-button-solid">Click Me</button>
No need to manually add assets or write repetitive HTML/CSS. WildayUI handles it for you!
UI Component Library
WildayUI aims to provide the essential UI components you need to build interfaces quickly using reusable elements with minimal CSS and JavaScript.
Focus on functionality instead of repetitive code, while enjoying the flexibility of fully customizable components tailored to your needs.
Example: Button Component
WildayUI simplifies creating buttons with different styles, sizes, and functionalities without needing extensive CSS or JavaScript setup.
# A primary button with default styling
<%= w_button "Primary Button", variant: :solid, theme: { name: :primary } %>
# A secondary button with rounded corners
<%= w_button "Rounded Button", variant: :secondary, radius: :rounded %>
# A primary button with a loading spinner and custom loading text
<%= w_button "Loading Button", loading: true, loading_text: "Processing..." %>
# An outline-styled button acting as an external link that opens in a new tab
<%= w_button "External Link", href: "https://example.com", target: "_blank", variant: :outline %>
# A primary button with an icon positioned to the right of the text
<%= w_button "Icon Button Right", variant: :solid, theme: { name: :primary }, icon: "fa-solid fa-user", icon_position: :right %>
# A primary button with an icon positioned to the left of the text
<%= w_button "Icon Button Left", variant: :solid, theme: { name: :primary }, icon: "fa-solid fa-user", icon_position: :left %>
WildayUI handles the underlying CSS and JavaScript logic, so you can focus on building functionality while keeping your codebase clean and maintainable.
CSS & JavaScript
We love CSS and JavaScript, but sometimes building a website quickly while keeping it manageable can take more time if you handle all the CSS and JavaScript yourself.
WildayUI is here to help developers minimize the need for custom CSS and JavaScript, allowing you to build fast without sacrificing simplicity. And of course, you can always add more CSS and JavaScript later as needed.
Customizeable
It's essential to provide developers with the flexibility and freedom to customize components, whether it's the CSS, JavaScript, or integration with frameworks and libraries.
If WildayUI's pre-built components don't fully meet your design or interaction needs, you can easily customize and extend them to align perfectly with your project's requirements.
Tech Stack
- Ruby
- Stimulus
Architecture
Solid arrows are calls, and the answer comes back on the same line; dashed arrows are sent on their own.