
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
bondsports-utils
Advanced tools
This package include all the components we need according to the design system.
This package include all the components we need according to the design system.
Get Started :
npm i bondsports-utils@latest
import {BnProvider} from 'bondsports-utils'
export const App = () => {
return (
<BnProvider>
// your app / router / whatever
</BnProvider>
)
}
import {BnProvider,Button} from 'bondsports-utils'
export const App = () => {
return (
<BnProvider >
<Button theme="primary" sizer="M"
onClick={()=>alert("Hello new Bondsports utils package")}>
Submit
</Button>
</BnProvider>
)
}
with Dynamic styling (no need to pass colors object to each element in the BnProvider) :
import {BnProvider,Button} from 'bondsports-utils'
export const App = () => {
const {colors} = useColors()
return (
<BnProvider colors={colors}>
<Button theme="primary" sizer="M"
onClick={()=>alert("Hello new Bondsports utils package")}>
Submit
</Button>
</BnProvider>
)
}
import {ModalWindow,useModal} from 'bondsports-utils'
export const App = () => {
const {isShowing,toggle} = useModal()
return (
<BnProvider >
<button onClick={toggle}>open modal</button>
<ModalWindow toggle={toggle} isShowing={isShowing}>
just put here whatever you want in the modal
</ModalWindow>
</BnProvider>
)
}
import {Modal} from 'bondsports-utils'
export const App = () => {
const {colors} = useColors()
return (
<BnProvider colors={colors}>
<Modal body={<div>this is the body of the modal</div>}>
<Button theme="primary" sizer="M">
Submit
</Button>
</Modal>
</BnProvider>
)
}
with no padding:
import {getIcon} from 'bondsports-utils'
export const App = () => {
return (
<BnProvider>
<div>
{getIcon("search")}
</div>
</BnProvider>
)
}
with padding (4px) just add variable 'l' / 'r':
import {getIcon} from 'bondsports-utils'
export const App = () => {
return (
<BnProvider>
<div>
{getIcon("search","r")}
</div>
</BnProvider>
)
}
FAQs
This package include all the components we need according to the design system.
The npm package bondsports-utils receives a total of 160 weekly downloads. As such, bondsports-utils popularity was classified as not popular.
We found that bondsports-utils 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.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.