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

Spinner component #114

Open
leonid opened this issue Sep 11, 2024 · 0 comments
Open

Spinner component #114

leonid opened this issue Sep 11, 2024 · 0 comments
Assignees
Milestone

Comments

@leonid
Copy link
Collaborator

leonid commented Sep 11, 2024

A Spinner component is a UI element used to indicate that a process or action is currently in progress. Here are the key features a Spinner component should have:

  1. Animation: Display a smooth, continuous animation to indicate loading.
  2. Customizable Appearance: Ability to customize the appearance through CSS classes or styles.
  3. Sizes: Support for different sizes (e.g., small, medium, large) to fit various UI designs.
  4. Colors and Themes: Support for different colors and themes to match the application's design.
  5. Accessibility: Ensure the component is accessible with proper ARIA attributes.
  6. Visibility Control: Ability to show or hide the spinner programmatically.
  7. Responsive Design: Adaptable to different screen sizes and orientations.
  8. Types of Spinners: Support for different types of spinners (e.g., circular, linear).
  9. Duration Control: Option to set a duration for how long the spinner should be displayed.
  10. Positioning: Ability to position the spinner in different parts of the screen (e.g., center, top, bottom).
  11. Overlay Option: Option to display the spinner as an overlay on top of other content.
  12. Event Handling: Emit events when the loading state starts or ends.
  13. Customizable Speed: Ability to adjust the speed of the spinner animation.
  14. Conditional Rendering: Support for conditional rendering based on the loading state.

These features ensure that the Spinner component is versatile, user-friendly, and accessible.

To be implemented

  • Vue component with basic logic
  • Styles and extension points as css properties
  • Vitepress documentation: feature description, examples and api documentation
  • Unit tests for component and its composition
  • Storybook demos and documentation
@leonid leonid self-assigned this Sep 11, 2024
@leonid leonid added this to the Alpha release milestone Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant