
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
A CLI tool for adding brutalist UI components to your React projects, similar to shadcn/ui but with registry URL support.
npm install -g precast-ui
precast-ui init
This will:
precast-ui.config.json
configuration filepackage.json
# Add local components
precast-ui add button
precast-ui add button card input
# Add components from registry URLs (like shadcn)
precast-ui add "https://magicui.design/r/marquee"
precast-ui add "https://ui.shadcn.com/registry/alert"
# Mix local and registry components
precast-ui add button "https://magicui.design/r/marquee" alert
# List available local components
precast-ui add
--yes, -y
: Skip confirmation prompts--overwrite, -o
: Overwrite existing filesThe precast-ui.config.json
file contains your project configuration:
{
"srcDir": "src",
"componentsDir": "components",
"cssFramework": "css-modules",
"typescript": true
}
Precast UI supports installing components from any registry URL that returns a valid component definition. This works exactly like shadcn/ui:
# Install from any registry
precast-ui add "https://registry.example.com/components/my-component"
# Works with popular registries
precast-ui add "https://magicui.design/r/marquee"
precast-ui add "https://ui.shadcn.com/registry/alert"
button
- Brutalist button componentalert
- Alert component for important messagesbadge
- Small status indicatorcard
- Container componentinput
- Form input componentbun run build
# Run simple functionality tests
node test-simple.js
# Test registry URL functionality
node test-registry-url.js
# Deploy to npm
./deploy.sh
MIT
FAQs
A CLI for adding brutalist UI components to your project
We found that precast-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.
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.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.