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

Tabs component #107

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

Tabs component #107

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

Comments

@leonid
Copy link
Member

leonid commented Sep 11, 2024

A Tabs component is a UI element that allows users to switch between different views or sections of content within the same area. Here are the key features a Tabs component should have:

  1. Tab Navigation: Ability to navigate between different tabs.
  2. Active Tab Indicator: Visual indication of the currently active tab.
  3. Keyboard Navigation: Support for keyboard navigation (e.g., arrow keys, Enter key) to switch between tabs.
  4. Dynamic Content: Ability to load and display different content for each tab.
  5. Customizable Tabs: Allow customization of tab labels, icons, and styles.
  6. Responsive Design: Adaptable to different screen sizes and orientations.
  7. Accessibility: Ensure the component is accessible with proper ARIA attributes and keyboard support.
  8. Closable Tabs: Option to include a close button on tabs to remove them.
  9. Lazy Loading: Support for lazy loading of tab content to improve performance.
  10. Events: Emit events for user interactions such as tabChange, tabClose, and tabSelect.
  11. Theming: Support for different themes to match the application's design system.
  12. Animations: Support for animations when switching between tabs.
  13. Vertical and Horizontal Layouts: Ability to display tabs in both vertical and horizontal layouts.
  14. Overflow Handling: Handle overflow when there are too many tabs to fit in the available space, often with scrollable or dropdown options.
  15. Default and Customizable Behavior: Provide default behavior for common use cases and allow customization for specific needs.

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

Design

TBD

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 Beta 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