
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.
@nootcode/ui
Advanced tools
Eine einfache, wiederverwendbare und anpassbare UI-Komponentenbibliothek, erstellt mit React, TypeScript und TailwindCSS. Gebaut mit `tsup`.
Eine einfache, wiederverwendbare und anpassbare UI-Komponentenbibliothek, erstellt mit React, TypeScript und TailwindCSS. Gebaut mit tsup.
Um die Komponentenbibliothek in deinem Projekt zu verwenden, installiere sie über npm oder deinen bevorzugten Paketmanager:
npm install @nootcode/ui
Importiere die benötigten Komponenten direkt aus dem Paket.
import { Button, Card, CardHeader, CardTitle, CardContent, CardFooter, Input, Badge } from "@nootcode/ui";
Der Button unterstützt die Varianten primary, secondary und outline.
<Button variant="primary">Klick mich</Button>
<Button variant="secondary">Mehr erfahren</Button>
<Button variant="outline">Abbrechen</Button>
Die Card-Komponente ist in mehrere Teile unterteilt, um maximale Flexibilität zu gewährleisten.
<Card>
<CardHeader>
<CardTitle>Titel der Karte</CardTitle>
</CardHeader>
<CardContent>
<p>Der Hauptinhalt deiner Karte kommt hier hin.</p>
</CardContent>
<CardFooter>
<Button>Aktion</Button>
</CardFooter>
</Card>
Ein anpassbares Input-Feld mit optionalem Label und Icon.
import { Mail } from "lucide-react";
<Input label="Dein Name" placeholder="Max Mustermann" />
<Input
label="E-Mail"
placeholder="deine@email.com"
icon={<Mail size={16} />}
/>
Badges zur Hervorhebung von Informationen mit verschiedenen Farbvarianten.
<Badge variant="blue">Info</Badge>
<Badge variant="green">Erfolgreich</Badge>
<Badge variant="red">Fehler</Badge>
Um die Bibliothek für die Veröffentlichung zu bauen, führe den folgenden Befehl im Stammverzeichnis des Projekts aus:
npm run build
Dieser Befehl verwendet tsup, um den Code in den dist/-Ordner zu kompilieren. Er generiert:
.d.ts)Für eine erfolgreiche Veröffentlichung sollte deine package.json die folgenden Felder enthalten:
{
"name": "@nootcode/ui",
"version": "0.1.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsup": "...",
"typescript": "..."
}
}
FAQs
Eine einfache, wiederverwendbare und anpassbare UI-Komponentenbibliothek, erstellt mit React, TypeScript und TailwindCSS. Gebaut mit `tsup`.
The npm package @nootcode/ui receives a total of 1 weekly downloads. As such, @nootcode/ui popularity was classified as not popular.
We found that @nootcode/ui demonstrated a healthy version release cadence and project activity because the last version was released less than 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.