
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
react-smooth-tabs
Advanced tools
https://react-scrollable-tabs.vercel.app/
Your project needs to use React 16.8 or later. react-smooth-tabs uses modern web technologies. That's why it's so fast, lightweight and easy to style. This, however, comes at a cost of supporting only modern browsers.
Add react-Smooth-tabs to your project by executing npm install react-smooth-tabs
or yarn add react-smooth-tabs
.
import { ScrollableTabs } from "react-smooth-tabs";
import "react-smooth-tabs/dist/index.css";
import { leftArowIcon, rightArrowIcon } from "@images";
function App() {
let [activeTab, setActiveTab] = useState("activeOrders");
const tabsWithoutQTY = [
{
value: "IntractiveReports",
label: "Intractive Reports ",
icon: <img src={ReportIcon} className="h-[1.5rem] w-[1.5rem]" />,
},
{
value: "PlayGround",
label: "PlayGround",
icon: <img src={playgroundIcon} className="h-[1.5rem] w-[1.5rem]" />,
},
{
value: "FileChanges",
label: "File Changes",
icon: <img src={fileChangeIcon} className="h-[1.5rem] w-[1.5rem]" />,
qty: { color: "#FF4081", value: "10" },
},
{
value: "Segementation",
label: "Segementation",
icon: <img src={segmentIcon} className="h-[1.5rem] w-[1.5rem]" />,
},
{
value: "Docunmentation",
label: "Docunmentation",
icon: <img src={documentIcon} className="h-[1.5rem] w-[1.5rem]" />,
},
{
value: "CustomerStories",
label: "Customer Stories",
icon: <img src={storiesicon} className="h-[1.5rem] w-[1.5rem]" />,
},
{
value: "GroupAnaytics",
label: "Group Anaytics",
icon: <img src={revinueIcon} className="h-[1.5rem] w-[1.5rem]" />,
},
{
value: "Conversion",
label: "Conversion",
icon: <img src={conversionIcon} className="h-[1.5rem] w-[1.5rem]" />,
},
{
value: "Portals",
label: "Portals",
icon: <img src={portalIcon} className="h-[1.5rem] w-[1.5rem]" />,
},
];
return (
<ScrollableTabs
tabs={tabsWithoutQTY}
activeTab={activeTab}
setActiveTab={setActiveTab}
activeColor="#008080"
lineColor="#008080"
position="Horizontal"
displayArrows={true}
leftArrow={leftArowIcon}
rightArrow={rightArrowIcon}
className="flex flex-col gap-2 items-center justify-center"
/>
);
}
export default App;
FAQs
https://react-scrollable-tabs.vercel.app/
We found that react-smooth-tabs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.