The most challenging part of my job is creating scalable interfaces that everyone can use and modify. It takes some time but I'm happy with the output so far.
Watch how easy it is to create any kind of input in seconds using
@alignui
:
I'm working hard to bring all
@alignui
pixels to the web flawlessly. This CSS-only custom Textarea resize handle outside the scroll area took me all day. Only those who have tried to customize the handle will understand how impossibly this one is made.
I started right away, we have no time to waste.
The cornerstone of a design system is its tokens. So I first prepared the tailwind config to bring them all (yep,
@alignui
will be built on
@tailwindcss
).
Installation should be pretty straightforward. All you need to do is import
We have a unique spacing system in
@alignui
. If there's a left icon, the left padding is reduced. This required an extra wrapper for text like <Badge.Text>. I'm very obsessive about API design and was bothered by it. Finally, I managed to do it without wrapper 🎉
Tailwind wraps CSS variables in var(...) when used as arbitrary values. But in some cases like houdini transitions, it shouldn't be wrapped. I discovered that an _ underscore does the trick.
🚨 Help needed: CSS Framework Users! 🚨
I'm researching how developers use CSS frameworks. Got 20 mins to share your experiences? Your insights are valuable!
Reply or DM to join the conversation 🫶🏻
I'm thinking about not making our Banner a component since it's typically used only a few times across the site. It seems more practical to just copy-paste the specific Banner you need. Do you think the same?
Poll below.
@alignui
@tailwindcss
Prefixing is completely opinionated. If you don't want to preserve default ones, just leave the function empty.
We've just started and none of these are set in stone yet. However, I want to keep you informed about the progress.
@1Amirn
yep. I'm not creating a UI library from scratch. No need to reinvent the wheel. We will provide components built with popular headless libraries. like Radix, Tanstack etc. So you can easily copy-paste into your project. Exactly like shadcn.
I'm finally launching Composed UI on Product Hunt!
It's a great starter pack for your tailwindcss projects. Easily pick out just what you need and write your own javascript. And it's completely free!
It would be a dream if I could make it into the top 3. Please head over to PH
@piotrkulpinski
@alignui
Wow! Thanks a lot for sharing. I'm checking it out and I came across the only: selector in the Button component. Didn't even know it exist in tailwind. Will definitely make use of it ❤️
@Goroh_co
@alignui
@tailwindcss
I'll share more insights as we progress. But I will stick with WAI-ARIA standards.
You're right, 'Segmented Control' would be a better name here.
@madebyibrahim
@alignui
I'll use unstyled and headless components, primarily Radix. I know React Aria has advanced hooks especially for date/calendar. I'll likely use it too.
@swrnvm
@alignui
We have a full calendar too. But it takes up much more space compared to this one. Your choice might depend on the space you have available.
I'd still prefer long class chain repetitions instead. Because;
- Brings a new syntax to learn.
- "selecting and editing every repeated variant chain" is not a big deal.
- Causes CSS bloating. Brandon pointed this out but still most of people don't have a clue about it.
- It's
Multi for Tailwind CSS 🦋👀
Variant-grouped utilities. (This is not a drill 🚨)
tailwindcss-multi provides a method for applying multiple utilities simultaneously, eliminating the need to repeat lengthy variant chains.
—
Check it out on GitHub 👇🏼
@robert_shaw_x
@alignui
@reactjs
Actually not a component library. I'm not a fan of it. We will give you the code with instructions and recipes so you can easily copy and paste.
I'm finally launching Composed UI on Product Hunt!
It's a great starter pack for your tailwindcss projects. Easily pick out just what you need and write your own javascript. And it's completely free!
It would be a dream if I could make it into the top 3. Please head over to PH