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

feat(tabs): Add ellipsis for multiple tabs #4510

Open
wants to merge 27 commits into
base: canary
Choose a base branch
from

Conversation

deepansh946
Copy link

@deepansh946 deepansh946 commented Jan 7, 2025

Closes #3573

Demo:

Screen.Recording.2025-02-11.at.2.32.22.AM.mov

📝 Description

This PR introduces ellipsis support for the Tab component enabling easy access to tabs which are not in the viewport. The implementation uses DOM elements to calculate elements out of the screen & show ellipsis accordingly.

⛳️ Current behavior (updates)

Currently all the tabs can be viewed by scrolling horizontally which isn't a great UX for multiple tabs.

🚀 New behavior

Added ellipsis menu at the end of the tab list, so that all other tabs can be accessed by that.

💣 Is this a breaking change (Yes/No):

No

📝 Additional Information

Summary by CodeRabbit

  • New Features

    • Enhanced Tabs component with overflow handling.
    • Added dropdown functionality for hidden tabs.
    • Improved tab navigation and scrolling capabilities.
    • New storybook template demonstrating multiple tabs.
  • Dependencies

    • Updated package name to @heroui/tabs and version to 2.2.8.
    • Replaced all instances of @nextui-org dependencies with @heroui.

This update introduces a more robust and user-friendly Tabs component that dynamically manages tab visibility and provides an intuitive way to access hidden tabs through a dropdown menu.

Copy link

changeset-bot bot commented Jan 7, 2025

🦋 Changeset detected

Latest commit: 26cdc42

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@heroui/tabs Patch
@heroui/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Jan 7, 2025

@deepansh946 is attempting to deploy a commit to the NextUI Inc Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

coderabbitai bot commented Jan 7, 2025

Walkthrough

The pull request involves a comprehensive update of the Tabs component, including a renaming of the package from @nextui-org/tabs to @heroui/tabs and an increment in the version number. The changes enhance the functionality of the Tabs component by introducing state management for overflow handling, allowing hidden tabs to be accessed via a dropdown. Additionally, the package dependencies have been updated to reflect the new namespace. The storybook has been improved with a new template for demonstrating multiple tabs, and tests have been added to ensure the overflow behavior is functioning correctly.

Changes

File Change Summary
packages/components/tabs/package.json Renamed package to @heroui/tabs, updated version to 2.2.8, modified homepage and repository URLs, and updated all dependencies from @nextui-org to @heroui.
packages/components/tabs/src/tabs.tsx - Added new state variables for overflow management
- Implemented checkOverflow, scrollToTab, and handleTabSelect methods
- Modified rendering logic to include dropdown for hidden tabs
.changeset/curly-snails-yell.md Introduced a patch update for the @heroui/tabs package, adding ellipsis functionality for overflow text.
packages/components/tabs/stories/tabs.stories.tsx Added MultipleTabsTemplate for demonstrating multiple tabs in storybook.
packages/components/tabs/__tests__/tabs.test.tsx Introduced mock functions and test cases for tab overflow functionality.

Assessment against linked issues

Objective Addressed Explanation
Add navigation for tabs with overflow Partial implementation with dropdown, but no explicit prev/next arrows.
Handle tabs exceeding screen size Dropdown mechanism introduced for hidden tabs.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (3)
packages/components/tabs/src/tabs.tsx (3)

43-77: Consider optimizing overflow calculations

The overflow detection logic is correct but could benefit from performance optimizations:

  1. Consider debouncing the scroll event handler
  2. Cache DOM measurements where possible to reduce layout thrashing
+ import {debounce} from "@nextui-org/shared-utils";
+
  const checkOverflow = useCallback(
-   () => {
+   debounce(() => {
      if (!tabList) return;
      // ... rest of the function
-   },
+   }, 150),
    [state.collection, tabListProps.ref]
  );

79-94: Clean scroll implementation!

The scroll behavior is well-implemented. Consider adding error boundaries or logging for cases where the tab element isn't found.

  const scrollToTab = useCallback(
    (key: string) => {
      if (!tabList) return;
      const tabElement = tabList.querySelector(`[data-key="${key}"]`);
-     if (!tabElement) return;
+     if (!tabElement) {
+       console.warn(`Tab with key "${key}" not found`);
+       return;
+     }

139-175: Enhance visual feedback for overflow state

The overflow handling is well-implemented with proper accessibility. Consider adding:

  1. Visual indicator for scroll shadows when content is overflowing
  2. Active state styling for the ellipsis button when dropdown is open
  <button
    aria-label="Show more tabs"
-   className="flex-none flex items-center justify-center w-10 h-8 ml-1 hover:bg-default-100 rounded-small transition-colors"
+   className={clsx(
+     "flex-none flex items-center justify-center w-10 h-8 ml-1 hover:bg-default-100 rounded-small transition-colors",
+     isDropdownOpen && "bg-default-100"
+   )}
  >
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between eada8cb and 1790c35.

📒 Files selected for processing (2)
  • packages/components/tabs/package.json (1 hunks)
  • packages/components/tabs/src/tabs.tsx (3 hunks)
🔇 Additional comments (3)
packages/components/tabs/src/tabs.tsx (3)

1-6: Well-structured state management and imports!

The new imports and state variables are well-organized and properly typed for managing tab overflow functionality.

Also applies to: 34-36


96-105: LGTM! Well-structured tab selection handler

The handler properly manages state updates and scroll behavior.


177-186: LGTM! Tab panel rendering maintained

The tab panel rendering properly maintains existing functionality while integrating with the new overflow handling.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (1)
packages/components/tabs/src/tabs.tsx (1)

154-155: ⚠️ Potential issue

Add cleanup for scroll event listener

The scroll event listener should be cleaned up to prevent memory leaks.

🧹 Nitpick comments (2)
packages/components/tabs/src/tabs.tsx (2)

43-77: Consider optimizing overflow detection performance

The current implementation performs DOM measurements in a loop, which could impact performance with many tabs.

Consider these optimizations:

  const checkOverflow = useCallback(() => {
    if (!tabList) return;

    const isOverflowing = tabList.scrollWidth > tabList.clientWidth;

    setShowOverflow(isOverflowing);

    if (!isOverflowing) {
      setHiddenTabs([]);
      return;
    }

    const tabs = [...state.collection];
    const hiddenTabsList: Array<{key: string; title: string}> = [];
    const {left: containerLeft, right: containerRight} = tabList.getBoundingClientRect();
+   // Cache all tab elements and their measurements upfront
+   const tabElements = tabs.map(item => ({
+     item,
+     element: tabList.querySelector(`[data-key="${item.key}"]`),
+   }));

-   tabs.forEach((item) => {
+   tabElements.forEach(({item, element}) => {
-     const tabElement = tabList.querySelector(`[data-key="${item.key}"]`);

-     if (!tabElement) return;
+     if (!element) return;

-     const {left: tabLeft, right: tabRight} = tabElement.getBoundingClientRect();
+     const {left: tabLeft, right: tabRight} = element.getBoundingClientRect();

170-177: Consider handling loading state

The dropdown menu might benefit from a loading state indicator while fetching tab content.

  <DropdownMenu
    aria-label="Hidden tabs"
    onAction={(key) => handleTabSelect(key as string)}
  >
+   {hiddenTabs.length === 0 && (
+     <DropdownItem isDisabled>No hidden tabs</DropdownItem>
+   )}
    {hiddenTabs.map((tab) => (
      <DropdownItem key={tab.key}>{tab.title}</DropdownItem>
    ))}
  </DropdownMenu>
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1790c35 and 0ed340e.

📒 Files selected for processing (3)
  • .changeset/curly-snails-yell.md (1 hunks)
  • packages/components/tabs/package.json (1 hunks)
  • packages/components/tabs/src/tabs.tsx (3 hunks)
✅ Files skipped from review due to trivial changes (1)
  • .changeset/curly-snails-yell.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/components/tabs/package.json
🔇 Additional comments (2)
packages/components/tabs/src/tabs.tsx (2)

34-36: LGTM! Well-structured state management

The state variables are well-defined with clear purposes:

  • showOverflow for controlling overflow visibility
  • hiddenTabs for managing tabs outside viewport
  • isDropdownOpen for dropdown state

162-168: LGTM! Excellent accessibility implementation

Great attention to accessibility with:

  • Proper aria-label
  • Screen reader text
  • Semantic button element

Copy link
Member

@wingkwong wingkwong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. please include tests
  2. please add a story for demo

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0ed340e and 8d3a500.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (3)
  • .changeset/curly-snails-yell.md (1 hunks)
  • packages/components/tabs/src/tabs.tsx (3 hunks)
  • packages/components/tabs/stories/tabs.stories.tsx (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • .changeset/curly-snails-yell.md
🔇 Additional comments (7)
packages/components/tabs/stories/tabs.stories.tsx (2)

84-92: LGTM! Well-structured template for testing overflow scenarios.

The implementation efficiently generates multiple tabs using Array spread and map, providing good test coverage for the new overflow functionality.


294-301: LGTM! Story export follows established patterns.

The MultipleTabs story is properly configured with the solid variant, maintaining consistency with other stories.

packages/components/tabs/src/tabs.tsx (5)

1-6: LGTM! Well-organized imports and state management.

The new imports and state variables are properly structured for managing tab overflow functionality.

Also applies to: 34-36


79-94: Fix useCallback dependency.

The dependency array references tabListProps.ref but should reference tabList instead.


96-105: LGTM! Comprehensive tab selection handling.

The function properly manages state updates, dropdown visibility, and tab scrolling.


107-123: LGTM! Proper effect management with cleanup.

The effects are well-implemented with:

  • Appropriate overflow style management
  • Debounced resize handling
  • Proper cleanup

143-190: LGTM! Accessible and well-structured overflow UI.

The implementation:

  • Properly handles overflow with dynamic width adjustment
  • Includes appropriate ARIA labels
  • Maintains good accessibility with screen reader support

@deepansh946 deepansh946 force-pushed the feat/dropdown-in-tabs branch from 8d3a500 to 2df0fdd Compare January 23, 2025 08:29
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
packages/components/tabs/src/tabs.tsx (2)

43-77: Optimize overflow detection performance.

The overflow detection logic is well-implemented but could be optimized:

  1. Consider memoizing the hiddenTabsList calculation
  2. The DOM queries could be batched for better performance
 const checkOverflow = useCallback(() => {
   if (!tabList) return;

   const isOverflowing = tabList.scrollWidth > tabList.clientWidth;

   setShowOverflow(isOverflowing);

   if (!isOverflowing) {
     setHiddenTabs([]);
     return;
   }

   const tabs = [...state.collection];
-  const hiddenTabsList: Array<{key: string; title: string}> = [];
+  // Batch DOM queries
+  const tabElements = tabs.map(item => ({
+    item,
+    element: tabList.querySelector(`[data-key="${item.key}"]`)
+  }));
+
+  const {left: containerLeft, right: containerRight} = tabList.getBoundingClientRect();
+
+  const hiddenTabsList = tabElements
+    .filter(({element}) => element)
+    .filter(({element}) => {
+      const {left: tabLeft, right: tabRight} = element!.getBoundingClientRect();
+      return tabRight > containerRight || tabLeft < containerLeft;
+    })
+    .map(({item}) => ({
+      key: String(item.key),
+      title: item.textValue || "",
+    }));

-  const {left: containerLeft, right: containerRight} = tabList.getBoundingClientRect();
-
-  tabs.forEach((item) => {
-    const tabElement = tabList.querySelector(`[data-key="${item.key}"]`);
-
-    if (!tabElement) return;
-
-    const {left: tabLeft, right: tabRight} = tabElement.getBoundingClientRect();
-    const isHidden = tabRight > containerRight || tabLeft < containerLeft;
-
-    if (isHidden) {
-      hiddenTabsList.push({
-        key: String(item.key),
-        title: item.textValue || "",
-      });
-    }
-  });

   setHiddenTabs(hiddenTabsList);
 }, [state.collection, tabList]);

154-155: Optimize scroll event handling.

Consider debouncing the scroll event handler to improve performance.

+const debouncedCheckOverflow = debounce(checkOverflow, 100);
+
 <Component
   {...tabListProps}
   className={clsx(
     "relative flex overflow-x-auto scrollbar-hide",
     showOverflow ? "w-[calc(100%-32px)]" : "w-full",
     tabListProps.className,
   )}
   data-has-overflow={dataAttr(showOverflow)}
-  onScroll={checkOverflow}
+  onScroll={debouncedCheckOverflow}
 >
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8d3a500 and 2df0fdd.

📒 Files selected for processing (1)
  • packages/components/tabs/src/tabs.tsx (3 hunks)
🔇 Additional comments (6)
packages/components/tabs/src/tabs.tsx (6)

1-1: LGTM! Clean import organization.

The new imports are well-organized and properly scoped for the ellipsis functionality.

Also applies to: 4-6


34-36: LGTM! Well-structured state management.

The state variables are appropriately typed and initialized for managing overflow tabs and dropdown state.


96-105: LGTM! Well-implemented tab selection handling.

The handleTabSelect function properly combines selection, dropdown state management, and scrolling.


143-179: LGTM! Accessible overflow implementation.

The overflow UI implementation is well-structured with proper accessibility attributes:

  • ARIA labels for the dropdown trigger and menu
  • Screen reader text for the ellipsis button
  • Proper keyboard navigation support through the dropdown component

107-111: ⚠️ Potential issue

Fix useEffect dependency.

The effect's dependency array should reference tabList instead of tabListProps.ref.

 useEffect(() => {
   if (!tabList) return;

   tabList.style.overflowX = isDropdownOpen ? "hidden" : "auto";
-}, [isDropdownOpen, tabListProps.ref]);
+}, [isDropdownOpen, tabList]);

Likely invalid or redundant comment.


79-94: ⚠️ Potential issue

Fix useCallback dependency in scrollToTab.

The dependency array incorrectly references tabListProps.ref instead of tabList.

 const scrollToTab = useCallback(
   (key: string) => {
     if (!tabList) return;

     const tabElement = tabList.querySelector(`[data-key="${key}"]`);

     if (!tabElement) return;

     tabElement.scrollIntoView({
       behavior: "smooth",
       block: "nearest",
       inline: "center",
     });
   },
-  [tabListProps.ref],
+  [tabList],
 );

Likely invalid or redundant comment.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2df0fdd and b71f011.

📒 Files selected for processing (1)
  • packages/components/tabs/__tests__/tabs.test.tsx (1 hunks)

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

♻️ Duplicate comments (2)
packages/components/tabs/package.json (1)

60-68: ⚠️ Potential issue

Move dropdown to runtime dependencies.

The @nextui-org/dropdown package is used directly in the component's implementation and should be moved from devDependencies to dependencies.

packages/components/tabs/src/tabs.tsx (1)

79-94: ⚠️ Potential issue

Fix useCallback dependency array.

The dependency array references tabListProps.ref but should reference tabList instead.

🧹 Nitpick comments (1)
packages/components/tabs/src/tabs.tsx (1)

43-77: Consider performance optimizations for overflow detection.

The overflow detection logic is sound but could benefit from performance improvements:

  1. Cache DOM measurements
  2. Use ResizeObserver instead of scroll event
  3. Add error boundaries for DOM operations
 const checkOverflow = useCallback(() => {
   if (!tabList) return;
+  try {
+    const measurements = new Map();
     const isOverflowing = tabList.scrollWidth > tabList.clientWidth;
 
     setShowOverflow(isOverflowing);
 
     if (!isOverflowing) {
       setHiddenTabs([]);
       return;
     }
 
     const tabs = [...state.collection];
     const hiddenTabsList: Array<{key: string; title: string}> = [];
     const {left: containerLeft, right: containerRight} = tabList.getBoundingClientRect();
 
     tabs.forEach((item) => {
       const tabElement = tabList.querySelector(`[data-key="${item.key}"]`);
 
       if (!tabElement) return;
 
+      const cachedMeasurement = measurements.get(item.key);
+      const {left: tabLeft, right: tabRight} = cachedMeasurement || tabElement.getBoundingClientRect();
+      if (!cachedMeasurement) {
+        measurements.set(item.key, {left: tabLeft, right: tabRight});
+      }
-      const {left: tabLeft, right: tabRight} = tabElement.getBoundingClientRect();
       const isHidden = tabRight > containerRight || tabLeft < containerLeft;
 
       if (isHidden) {
         hiddenTabsList.push({
           key: String(item.key),
           title: item.textValue || "",
         });
       }
     });
 
     setHiddenTabs(hiddenTabsList);
+  } catch (error) {
+    console.error('Error checking overflow:', error);
+  }
 }, [state.collection, tabList]);
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b71f011 and 07fdf26.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • packages/components/tabs/package.json (4 hunks)
  • packages/components/tabs/src/tabs.tsx (3 hunks)
🔇 Additional comments (2)
packages/components/tabs/package.json (1)

2-3: Verify version bump aligns with semantic versioning.

The version bump from 2.2.7 to 2.2.8 indicates a patch change, but adding ellipsis functionality for tabs is a feature addition that should warrant a minor version bump (2.3.0).

packages/components/tabs/src/tabs.tsx (1)

34-36: LGTM! State management looks good.

The state variables are well-defined and serve clear purposes:

  • showOverflow controls ellipsis visibility
  • hiddenTabs tracks tabs not in view
  • isDropdownOpen manages dropdown state

@deepansh946 deepansh946 requested a review from wingkwong January 30, 2025 16:55
@deepansh946
Copy link
Author

@wingkwong Changes are done.

Copy link

vercel bot commented Feb 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
heroui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 9, 2025 10:51am
heroui-sb ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 9, 2025 10:51am

Copy link
Member

@wingkwong wingkwong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. documentation is missing
  2. the "show more" button should be customized (e.g. icon, aria-label etc) by users.
  3. in this PR's storybook, clicking tab 25 doesn't scroll to the tabs.
    image
  4. may also check some extreme cases like having 1000 tabs to see if the dropdown is scrollable or not.

@deepansh946
Copy link
Author

@wingkwong I have fixed the bug & applied the desired changes.

@toxsick
Copy link

toxsick commented Feb 21, 2025

@deepansh946 BIG THANKS for you work on this one 👏👏 Looking forward for this being released.

Copy link

pkg-pr-new bot commented Feb 21, 2025

Open in Stackblitz

@heroui/accordion

npm i https://pkg.pr.new/@heroui/accordion@4510

@heroui/alert

npm i https://pkg.pr.new/@heroui/alert@4510

@heroui/autocomplete

npm i https://pkg.pr.new/@heroui/autocomplete@4510

@heroui/avatar

npm i https://pkg.pr.new/@heroui/avatar@4510

@heroui/badge

npm i https://pkg.pr.new/@heroui/badge@4510

@heroui/breadcrumbs

npm i https://pkg.pr.new/@heroui/breadcrumbs@4510

@heroui/button

npm i https://pkg.pr.new/@heroui/button@4510

@heroui/calendar

npm i https://pkg.pr.new/@heroui/calendar@4510

@heroui/card

npm i https://pkg.pr.new/@heroui/card@4510

@heroui/checkbox

npm i https://pkg.pr.new/@heroui/checkbox@4510

@heroui/chip

npm i https://pkg.pr.new/@heroui/chip@4510

@heroui/code

npm i https://pkg.pr.new/@heroui/code@4510

@heroui/date-input

npm i https://pkg.pr.new/@heroui/date-input@4510

@heroui/date-picker

npm i https://pkg.pr.new/@heroui/date-picker@4510

@heroui/divider

npm i https://pkg.pr.new/@heroui/divider@4510

@heroui/drawer

npm i https://pkg.pr.new/@heroui/drawer@4510

@heroui/dropdown

npm i https://pkg.pr.new/@heroui/dropdown@4510

@heroui/form

npm i https://pkg.pr.new/@heroui/form@4510

@heroui/image

npm i https://pkg.pr.new/@heroui/image@4510

@heroui/input

npm i https://pkg.pr.new/@heroui/input@4510

@heroui/input-otp

npm i https://pkg.pr.new/@heroui/input-otp@4510

@heroui/kbd

npm i https://pkg.pr.new/@heroui/kbd@4510

@heroui/link

npm i https://pkg.pr.new/@heroui/link@4510

@heroui/listbox

npm i https://pkg.pr.new/@heroui/listbox@4510

@heroui/menu

npm i https://pkg.pr.new/@heroui/menu@4510

@heroui/modal

npm i https://pkg.pr.new/@heroui/modal@4510

@heroui/navbar

npm i https://pkg.pr.new/@heroui/navbar@4510

@heroui/number-input

npm i https://pkg.pr.new/@heroui/number-input@4510

@heroui/pagination

npm i https://pkg.pr.new/@heroui/pagination@4510

@heroui/popover

npm i https://pkg.pr.new/@heroui/popover@4510

@heroui/progress

npm i https://pkg.pr.new/@heroui/progress@4510

@heroui/radio

npm i https://pkg.pr.new/@heroui/radio@4510

@heroui/ripple

npm i https://pkg.pr.new/@heroui/ripple@4510

@heroui/scroll-shadow

npm i https://pkg.pr.new/@heroui/scroll-shadow@4510

@heroui/select

npm i https://pkg.pr.new/@heroui/select@4510

@heroui/skeleton

npm i https://pkg.pr.new/@heroui/skeleton@4510

@heroui/slider

npm i https://pkg.pr.new/@heroui/slider@4510

@heroui/snippet

npm i https://pkg.pr.new/@heroui/snippet@4510

@heroui/spacer

npm i https://pkg.pr.new/@heroui/spacer@4510

@heroui/spinner

npm i https://pkg.pr.new/@heroui/spinner@4510

@heroui/switch

npm i https://pkg.pr.new/@heroui/switch@4510

@heroui/table

npm i https://pkg.pr.new/@heroui/table@4510

@heroui/tabs

npm i https://pkg.pr.new/@heroui/tabs@4510

@heroui/toast

npm i https://pkg.pr.new/@heroui/toast@4510

@heroui/tooltip

npm i https://pkg.pr.new/@heroui/tooltip@4510

@heroui/user

npm i https://pkg.pr.new/@heroui/user@4510

@heroui/react

npm i https://pkg.pr.new/@heroui/react@4510

@heroui/system

npm i https://pkg.pr.new/@heroui/system@4510

@heroui/system-rsc

npm i https://pkg.pr.new/@heroui/system-rsc@4510

@heroui/theme

npm i https://pkg.pr.new/@heroui/theme@4510

@heroui/use-aria-accordion

npm i https://pkg.pr.new/@heroui/use-aria-accordion@4510

@heroui/use-aria-accordion-item

npm i https://pkg.pr.new/@heroui/use-aria-accordion-item@4510

@heroui/use-aria-button

npm i https://pkg.pr.new/@heroui/use-aria-button@4510

@heroui/use-aria-link

npm i https://pkg.pr.new/@heroui/use-aria-link@4510

@heroui/use-aria-modal-overlay

npm i https://pkg.pr.new/@heroui/use-aria-modal-overlay@4510

@heroui/use-aria-multiselect

npm i https://pkg.pr.new/@heroui/use-aria-multiselect@4510

@heroui/use-callback-ref

npm i https://pkg.pr.new/@heroui/use-callback-ref@4510

@heroui/use-clipboard

npm i https://pkg.pr.new/@heroui/use-clipboard@4510

@heroui/use-data-scroll-overflow

npm i https://pkg.pr.new/@heroui/use-data-scroll-overflow@4510

@heroui/use-disclosure

npm i https://pkg.pr.new/@heroui/use-disclosure@4510

@heroui/use-draggable

npm i https://pkg.pr.new/@heroui/use-draggable@4510

@heroui/use-image

npm i https://pkg.pr.new/@heroui/use-image@4510

@heroui/use-infinite-scroll

npm i https://pkg.pr.new/@heroui/use-infinite-scroll@4510

@heroui/use-intersection-observer

npm i https://pkg.pr.new/@heroui/use-intersection-observer@4510

@heroui/use-is-mobile

npm i https://pkg.pr.new/@heroui/use-is-mobile@4510

@heroui/use-is-mounted

npm i https://pkg.pr.new/@heroui/use-is-mounted@4510

@heroui/use-measure

npm i https://pkg.pr.new/@heroui/use-measure@4510

@heroui/use-pagination

npm i https://pkg.pr.new/@heroui/use-pagination@4510

@heroui/use-real-shape

npm i https://pkg.pr.new/@heroui/use-real-shape@4510

@heroui/use-ref-state

npm i https://pkg.pr.new/@heroui/use-ref-state@4510

@heroui/use-resize

npm i https://pkg.pr.new/@heroui/use-resize@4510

@heroui/use-safe-layout-effect

npm i https://pkg.pr.new/@heroui/use-safe-layout-effect@4510

@heroui/use-scroll-position

npm i https://pkg.pr.new/@heroui/use-scroll-position@4510

@heroui/use-ssr

npm i https://pkg.pr.new/@heroui/use-ssr@4510

@heroui/use-theme

npm i https://pkg.pr.new/@heroui/use-theme@4510

@heroui/use-update-effect

npm i https://pkg.pr.new/@heroui/use-update-effect@4510

@heroui/aria-utils

npm i https://pkg.pr.new/@heroui/aria-utils@4510

@heroui/dom-animation

npm i https://pkg.pr.new/@heroui/dom-animation@4510

@heroui/framer-utils

npm i https://pkg.pr.new/@heroui/framer-utils@4510

@heroui/react-rsc-utils

npm i https://pkg.pr.new/@heroui/react-rsc-utils@4510

@heroui/react-utils

npm i https://pkg.pr.new/@heroui/react-utils@4510

@heroui/shared-icons

npm i https://pkg.pr.new/@heroui/shared-icons@4510

@heroui/shared-utils

npm i https://pkg.pr.new/@heroui/shared-utils@4510

@heroui/stories-utils

npm i https://pkg.pr.new/@heroui/stories-utils@4510

@heroui/test-utils

npm i https://pkg.pr.new/@heroui/test-utils@4510

commit: 26cdc42

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

Successfully merging this pull request may close these issues.

[Feature Request] Prev icon and next icon in Tabs
3 participants