Skip to content

[Feature]: Support RTL in shadcn components #357

Open
@lord007tn

Description

@lord007tn

Describe the feature

It seems that components use left and right values from tailwindcss
i would recommend using start and end so it supports RTL and LTR directions in projects

so instead of pr-1 , ml-2 ...
we use pe-1, ms-2
And so on

also in components that have Chevron icons
we should add rtl:rotate-180 class so we make sure when we change direction arrow rotate

Tasks:

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions