
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@citydna/common
Advanced tools
@citydna/common
A branded component library for Melbourne CityDNA. Check out the Storybook for examples of most components. For everything else, use @material-ui/core
.
$ yarn add @citydna/common @material-ui/core @material-ui/icons
Most importantly, wrap your app in the <Theme />
component. After that, go for gold. You can play with the example below in codesandbox.
import React from "react"
import { Button, Header, InsetWrap, Theme, Title } from "@citydna/common"
export const MyComponent = () => (
<Theme variant="dark">
<Header microBranding right={<Button variant="text" color="default" size="small">Click me</Button>} />
<InsetWrap>
<Title primary="Easily build branded UIs" secondary="That look and feel great too.">
<Button>Lovin' life?</Button>
</InsetWrap>
</Theme>
)
// note: You only need to wrap your whole app with <Theme /> once - unless you want to nest themes.
Check the storybook for interactive demos and usage.
Alert
Button
CounterInput
Dialog
Header
HorizontalTileGrid
ReactMarkdownMui
InsetWrap
Logo
MicroLogo
ResultsList
SearchForm
Select
Skrim
Snackbars
Subtitle
TextField
Theme
Title
VerticalTileGrid
When adding a new icon to this package follow these steps:
/aboriginal-melbourne
and copy the code into a new .ts
file with the same name (follow an existing .ts file as an example)/packages/common
run yarn build:icons
FAQs
React component library for Melbourne City DNA.
We found that @citydna/common demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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 Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.