[GH-ISSUE #618] feat: have paddingX/paddingY and marginX/marginY #167

Closed
opened 2026-03-02 23:45:01 +03:00 by kerem · 0 comments
Owner

Originally created by @viralcodex on GitHub (Feb 2, 2026).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/618

Hi Team,
I am using OpenTUI for one of my projects and while writing padding and margin values for components (solid js), I felt I have been writing left and right a lot.

Since I have used tailwind for my projects, I felt like X and Y attributes for both margin and padding should be a simple addition to make writing these values a little easier instead of left right and top and down separately if the values used are same.

I have already linked the PR to this issue if you guys find it acceptable to merge it.

Would be more than happy to discuss more on this.

Thanks for building a great library to use, it's really cool 😄

Originally created by @viralcodex on GitHub (Feb 2, 2026). Original GitHub issue: https://github.com/anomalyco/opentui/issues/618 Hi Team, I am using OpenTUI for one of my projects and while writing padding and margin values for components (solid js), I felt I have been writing left and right a lot. Since I have used tailwind for my projects, I felt like X and Y attributes for both margin and padding should be a simple addition to make writing these values a little easier instead of left right and top and down separately if the values used are same. I have already linked the PR to this issue if you guys find it acceptable to merge it. Would be more than happy to discuss more on this. Thanks for building a great library to use, it's really cool 😄
kerem closed this issue 2026-03-02 23:45:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#167
No description provided.