Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UProgress]: Add variant and status-position props #3728

Open
Achraf931 opened this issue Mar 29, 2025 · 0 comments
Open

[UProgress]: Add variant and status-position props #3728

Achraf931 opened this issue Mar 29, 2025 · 0 comments
Labels
enhancement New feature or request triage v3 #1289

Comments

@Achraf931
Copy link

Achraf931 commented Mar 29, 2025

Description

Feature Request: Add variant and status-position props to UProgress component

Description

I’m a junior developer, and I’ve been working on enhancing the flexibility of the Progress component by adding two new props: variant and status-position. These props allow for better customization, especially when using the Progress component in different design contexts.

  • variant: This prop allows you to choose between two styles for the progress bar: linear and circular. The circular variant provides a circular progress bar instead of the default linear style.

  • status-position: This prop controls the position of the progress status (the percentage or label) relative to the progress bar. The possible values are:

    • inside: The status is displayed inside the circle (for the circular variant).
    • outside: The status is displayed outside the circle.

Motivation

This update would help in using the Progress component more flexibly across different layouts, providing options for both linear and circular progress indicators with customizable label placements.

What I've Done

I’m still a junior developer, so the implementation is not perfect, but a good portion of the work is done. I’ve added the variant and status-position props to the Progress component. I’d love to know if this is something you’d like to integrate into the main repository and whether I can open a pull request for it.

Additional Notes

  • The variant prop accepts values linear or circular.
  • The status-position prop accepts values inside or outside.

Would love to hear your thoughts on this approach!

Additional context

Reka UI : Progress Circular

@Achraf931 Achraf931 added enhancement New feature or request triage v3 #1289 labels Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage v3 #1289
Projects
None yet
Development

No branches or pull requests

1 participant