
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@billy_mcdowell/shadcn-web-components
Advanced tools
A professional web component library built with Lit, following shadcn design principles
A professional, enterprise-grade web component library built with Lit, following shadcn/ui design principles.
✨ Modern & Accessible: Built with Lit and WCAG 2.1 AA compliant
🎨 Beautiful Dark Theme: Carefully crafted oklch color palette
📦 Tree-Shakeable: Import only what you need
🔧 Customizable: Theme with CSS custom properties
📚 Well Documented: Interactive Storybook documentation
⚡ Lightweight: Core components < 8KB gzipped
🎯 Type-Safe: Full TypeScript support
npm install @billy_mcdowell/shadcn-web-components
You can also use the components via CDN:
<script type="module" src="https://cdn.jsdelivr.net/npm/@billy_mcdowell/shadcn-web-components@0.0.2/dist/index.min.js"></script>
Import individual components:
import '@billy_mcdowell/shadcn-web-components/button';
Or import all components:
import '@billy_mcdowell/shadcn-web-components';
Use in your HTML:
<shadcn-button variant="default">Click me</shadcn-button>
<shadcn-button variant="destructive">Delete</shadcn-button>
<shadcn-button variant="outline">Cancel</shadcn-button>
The button component supports multiple variants and sizes:
default - Primary button styledestructive - For dangerous actionsoutline - Subtle bordered stylesecondary - Muted backgroundghost - Transparent backgroundlink - Text link stylesm - Small (36px height)default - Default (40px height)lg - Large (44px height)icon - Square icon button (40x40px)<!-- Variants -->
<shadcn-button variant="default">Save</shadcn-button>
<shadcn-button variant="destructive">Delete</shadcn-button>
<shadcn-button variant="outline">Cancel</shadcn-button>
<!-- Sizes -->
<shadcn-button size="sm">Small</shadcn-button>
<shadcn-button size="lg">Large</shadcn-button>
<!-- Icon Button -->
<shadcn-button size="icon">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M5 12h14M12 5l7 7-7 7"/>
</svg>
</shadcn-button>
<!-- Disabled -->
<shadcn-button disabled>Disabled</shadcn-button>
<!-- With Event Listener -->
<shadcn-button id="myButton">Click me</shadcn-button>
<script>
document.getElementById('myButton')
.addEventListener('button-click', (e) => {
console.log('Button clicked!', e.detail);
});
</script>
All components can be themed using CSS custom properties:
shadcn-button {
--button-bg: oklch(0.5 0.2 220);
--button-color: oklch(1 0 0);
--button-border: oklch(0.6 0.2 220);
}
Each component exposes CSS custom properties for theming. See the component documentation for details.
# Install dependencies
npm install
# Start Storybook
npm run storybook
# Build library
npm run build
# Type check
npm run type-check
# Generate component manifest
npm run analyze
shadcn-web-components/
├── src/
│ ├── components/ # Component implementations
│ │ └── button/
│ │ ├── button.ts
│ │ ├── button.stories.ts
│ │ └── index.ts
│ ├── styles/ # Design tokens
│ │ ├── tokens.css
│ │ ├── reset.css
│ │ └── index.ts
│ └── index.ts # Main entry
├── .storybook/ # Storybook config
└── dist/ # Build output
This library follows shadcn's design principles with a dark theme color palette using oklch color space for better perceived uniformity.
--background, --foreground - Base colors--primary, --secondary - Brand colors--accent, --muted - Semantic colors--destructive - Error/danger state--border, --input - UI element colors--font-size-xs to --font-size-4xl--spacing-1 (4px) to --spacing-12 (48px)--radius-sm to --radius-fullMIT
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
Note: This library is currently in active development. The API may change before v1.0.0.
FAQs
A professional web component library built with Lit, following shadcn design principles
We found that @billy_mcdowell/shadcn-web-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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.