ux-twig-component
Stimulus
ux-twig-component | Stimulus | |
---|---|---|
3 | 111 | |
143 | 12,466 | |
2.8% | 0.3% | |
8.9 | 6.4 | |
7 days ago | 5 days ago | |
PHP | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ux-twig-component
-
Rendering Twig templates in Storybook
In the websites I build, a components is a single Twig file that can be included in any other template of the project. This can also be a Twig Component if you are using Symfony UX. For this example, we'll create a simple button component, in a templates/components folder. This button can have a label, a size and can be primary or secondary.
-
Discover Symfony UX’s Twig Components. UI without JS or BS.
“work with the Twig Component library to give you the power to automatically update your Twig components on the frontend as users interact with them.”
-
Split your Symfony views into multiple controllers with NumberNine CMS
using Twig components
Stimulus
-
Turbo Streaming Modals in Ruby on Rails
I also recommend checking out the docs for Stimulus and Turbo to familiarise yourself with all their features and the APIs used in this series.
-
Google: Angular and Wiz Are Merging
Any tips on preparing to work with Wiz as an incoming intern. I heard its identical to Stimulus: https://stimulus.hotwired.dev/
-
How to integrate Component Architecture into Symfony?
use Stimulus
- Stimulus: A modest JavaScript framework for the HTML you already have
-
Build Drag and Drop with Rails Hotwire
With Stimulus, you've got a powerful tool to take your app's interactivity up a notch. For even more awesome features and Stimulus wizardry, check out the Stimulus Documentation.
-
Supercharge your Stimulus controllers with Custom APIs
The next version of Stimulus makes it easier to access parts of the private API thanks to my pull request.
-
Why are you still using jQuery?
I like Stimulus, it was a bit pushed by Symfony with their ux thing.
-
Too Much JavaScript? Why the Frontend Needs to Build Better
I thought it'd be https://stimulus.hotwired.dev/ for a minute but I think that ecosystem is tied too closely with rails.
-
Learn Stimulus in Ruby on Rails by Building a Toggle)
Hey HN!
For those new to Rails, Stimulus (https://stimulus.hotwired.dev/) is a way to sprinkle frontend javascript code into your Rails views.
I held off using Stimulus in my Rails apps for a long time because I didn't understand it — the data= attributes looked weird, and the connection between my Rails views and Stimulus javascript controllers was confusing.
So I decided to write the guide I wish I had when I was learning Stimulus.
Hope you enjoy it! I'm happy to answer any questions, feel free to ask any.
Thanks, Harrison
-
Your first Stimulus controller — Learn Stimulus by building a toggle in your Rails app
Hey /r/rails, these past few weeks, I've been working on a beginner's guide to Stimulus and I'm excited to finally share it!
What are some alternatives?
stimulus-bridge - Stimulus integration bridge for Symfony projects
turbo-rails - Use Turbo in your Ruby on Rails app
Grav - Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony
htmx - </> htmx - high power tools for HTML
cssui - A collection of interactive UI components in pure CSS
hotwire-rails - Use Hotwire in your Ruby on Rails app
django-unicorn - The magical reactive component framework for Django ✨
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
jquery-rails - A gem to automate using jQuery with Rails
react-rails - Integrate React.js with Rails views and controllers, the asset pipeline, or webpacker.
view_component - A framework for building reusable, testable & encapsulated view components in Ruby on Rails.