
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
react-brandbook
Advanced tools
Quickly setup a brand book with title, logo and a list of topics (with sub-topics).
It supports multiple themes and layouts where you can switch between different flavour of theme and page layout.
It is especially suitable for portfolios, style guides, resumes, or just any slides like pages.
ReactDOM.render(
<Book />,
document.getElementById('root')
)
where props supported includes,
You can replace them with any element, ex.
const title = 'MyBook'
const logo = (
<Icon
size={'auto'}
children={<Logo />}
style={{ position: 'relative', top: '-3px' }}
/>
)
<Book title={title} logo={logo} />
Each topic is a page that can be specified via an object with title and stories inside.
const topics = [
{ title: 'Button', stories: buttonStories }
]
where each story again can be defined with title, text and body.
const Demo = ({ story }) => ()
const buttonStories = [
{
title: 'Normal',
text: 'Normal button states',
body: <Demo />
},
...
]
Each story can be added via body attributes of topic stories. And it can be decorated with story as input if needed.
In order to navigate from one topic to another topic, you can use story.goto(search), where search is the topic name that you want to go to.
const Demo = ({ story }) => {
const onClick = e => { story.goto('Button') }
return (
<p>Used in <code onClick={onClick}>Button</code></p>
)
}
const fontFamily = 'Times New Rome'
const themes = [
{ title: 'Light', theme: { mode: 'light', fontFamily } },
{ title: 'Dark', theme: { mode: 'dark', fontFamily } }
]
return <Book themes={themes} />
FAQs
Quickly setup branding website with styles and navigations.
We found that react-brandbook 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.