
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
discrd-components
Advanced tools
A modern React component library inspired by Aceternity and shadcn/ui, built with TypeScript and designed for beautiful, accessible user interfaces.
npm install discrd-components
import { Button } from "discrd-components";
function App() {
return (
<div>
<Button variant="default">Click me</Button>
<Button variant="gradient" size="lg">
Get Started
</Button>
<Button variant="outline" size="sm">
Learn More
</Button>
</div>
);
}
The Button component is highly customizable with multiple variants and sizes.
default - Primary button with solid backgrounddestructive - Red button for destructive actionsoutline - Button with border and transparent backgroundsecondary - Secondary button with muted backgroundghost - Transparent button that shows background on hoverlink - Button that looks like a linkgradient - Button with gradient background (inspired by Aceternity)glass - Glassmorphism effect buttonsm - Small buttondefault - Default sizelg - Large buttonicon - Square button for iconsinterface ButtonProps {
variant?:
| "default"
| "destructive"
| "outline"
| "secondary"
| "ghost"
| "link"
| "gradient"
| "glass";
size?: "sm" | "default" | "lg" | "icon";
asChild?: boolean;
className?: string;
// ... all standard button HTML attributes
}
// Basic usage
<Button>Click me</Button>
// With variants
<Button variant="gradient">Gradient Button</Button>
<Button variant="glass">Glass Button</Button>
<Button variant="destructive">Delete</Button>
// With sizes
<Button size="sm">Small</Button>
<Button size="lg">Large</Button>
<Button size="icon">🚀</Button>
// Combined
<Button variant="gradient" size="lg">
Get Started
</Button>
// Disabled state
<Button disabled>Disabled</Button>
// With custom className
<Button className="my-custom-class">
Custom Styled
</Button>
The components use Tailwind CSS classes. Make sure you have Tailwind CSS configured in your project for the best experience.
The components rely on CSS custom properties for theming. You can customize these in your CSS:
:root {
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
--primary: 222.2 47.4% 11.2%;
--primary-foreground: 210 40% 98%;
--secondary: 210 40% 96%;
--secondary-foreground: 222.2 84% 4.9%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
--accent: 210 40% 96%;
--accent-foreground: 222.2 84% 4.9%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--ring: 222.2 84% 4.9%;
}
# Install dependencies
npm install
# Build the library
npm run build
# Watch for changes
npm run dev
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A modern React component library inspired by Aceternity and shadcn/ui
We found that discrd-components 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.