Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@s-ui/react-molecule-tabs
Advanced tools
> Basic component for tabs allowing versions with or without icons and classic or highlighted variants
Readme
Basic component for tabs allowing versions with or without icons and classic or highlighted variants
$ npm install @s-ui/react-molecule-tabs --save
import MoleculeTabs, {
MoleculeTabs as StaticMoleculeTabs,
MoleculeTab,
moleculeTabsTypes,
moleculeTabsVariants
} from '@s-ui/react-molecule-tabs'
<MoleculeTabs>
<MoleculeTab
numTab="1"
label="Tab 1"
active
>
<ContentTab1 />
</MoleculeTab>
<MoleculeTab numTab="2" label="Tab 2">
<ContentTab2 />
</MoleculeTab>
<MoleculeTab
numTab="3"
label="Tab 3"
disabled
>
<ContentTab3 />
</MoleculeTab>
</MoleculeTabs>
<MoleculeTabs type={moleculeTabsTypes.FULLWIDTH}>
<MoleculeTab
numTab="1"
label="Tab 1"
active
>
<ContentTab1 />
</MoleculeTab>
<MoleculeTab numTab="2" label="Tab 2">
<ContentTab2 />
</MoleculeTab>
<MoleculeTab
numTab="3"
label="Tab 3"
disabled
>
<ContentTab3 />
</MoleculeTab>
</MoleculeTabs>
<MoleculeTabs variant={moleculeTabsVariants.HIGHLIGHTED}>
<MoleculeTab
numTab="1"
label="Tab 1"
active
>
<ContentTab1 />
</MoleculeTab>
<MoleculeTab numTab="2" label="Tab 2">
<ContentTab2 />
</MoleculeTab>
<MoleculeTab
numTab="3"
label="Tab 3"
disabled
>
<ContentTab3 />
</MoleculeTab>
</MoleculeTabs>
<MoleculeTabs variant={moleculeTabsVariants.HIGHLIGHTED} type={moleculeTabsTypes.VERTICAL}>
<MoleculeTab
numTab="1"
label="Tab 1"
active
>
<ContentTab1 />
</MoleculeTab>
<MoleculeTab numTab="2" label="Tab 2">
<ContentTab2 />
</MoleculeTab>
<MoleculeTab
numTab="3"
label="Tab 3"
disabled
>
<ContentTab3 />
</MoleculeTab>
</MoleculeTabs>
<MoleculeTabs>
<MoleculeTab
numTab="1"
label="Tab 1"
icon={<IconLineBackup />}
active
>
<ContentTab1 />
</MoleculeTab>
<MoleculeTab numTab="2" label="Tab 2" icon={<IconLineDashboard />}>
<ContentTab2 />
</MoleculeTab>
<MoleculeTab
numTab="3"
label="Tab 3"
icon={<IconLineExtension />}
disabled
>
<ContentTab3 />
</MoleculeTab>
</MoleculeTabs>
Find full description and more examples in the demo page.
FAQs
> Basic component for tabs allowing versions with or without icons and classic or highlighted variants
The npm package @s-ui/react-molecule-tabs receives a total of 1,596 weekly downloads. As such, @s-ui/react-molecule-tabs popularity was classified as popular.
We found that @s-ui/react-molecule-tabs demonstrated a not healthy version release cadence and project activity because the last version was released 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.