Skip to content

Loading widget #112

Open
Open
@leonid

Description

@leonid

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

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

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

Design

https://www.figma.com/design/6nFlVmwDwvGloglQHxyElh/Syntax-UI-3.0?node-id=411-17998&m=dev

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions