
Product
Announcing Socket Certified Patches: One-Click Fixes for Vulnerable Dependencies
A safer, faster way to eliminate vulnerabilities without updating dependencies
@douyinfe/semi-site-header
Advanced tools
header used in Semi Design
npm install @douyinfe/semi-site-header
import Header '@douyinfe/semi-site-header';
ReactDOM.render(<Header />, root);
| Property | Description | Type | Default |
|---|---|---|---|
| className | class name | string | |
| style | custom style | CSSProperties | |
| locale | locale code | string | |
| preferColor | follow system dark theme | boolean | |
| logo | logo content | ReactNode | |
| ghLink | github link | string | "https://github.com/DouyinFE/semi-design" |
| onLogoClick | logo click event | () => void | |
| onDarkChange | dark change event | (mode: string) => void | |
| onThemeChange | theme change event | (color: string) => void | |
| onLocaleChange | locale change event | (locale: string) => void |
FAQs
semi site header
We found that @douyinfe/semi-site-header demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.