
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@myelmut/design-system
Advanced tools
A React component library built with TypeScript, Tailwind CSS, and Storybook. Published to the NPM registry on the Elmut Org.
Install dependencies:
pnpm install
Run Storybook for component development:
pnpm run storybook
Build the library:
pnpm run build
This will generate:
dist/dist/dist/styles.cssInstall the package from NPM along with required peer dependencies:
npm install @myelmut/design-system i18next react-i18next
# or
yarn add @myelmut/design-system i18next react-i18next
# or
pnpm add @myelmut/design-system i18next react-i18next
For App Router (app directory):
Import the CSS in your root layout (app/layout.tsx):
import '@myelmut/design-system/dist/index.css';
import './globals.css';
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<body>{children}</body>
</html>
);
}
For Pages Router (pages directory):
Import the CSS in pages/_app.tsx:
import type { AppProps } from 'next/app';
import '@myelmut/design-system/dist/index.css';
export default function App({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />;
}
Components can be used in both Server and Client Components:
import { Button } from '@myelmut/design-system';
export default function Page() {
return <Button variant="primary">Click me</Button>;
}
For interactive features (onClick, etc.), use in Client Components:
'use client';
import { Button } from '@myelmut/design-system';
export default function ClientPage() {
return (
<Button variant="primary" onClick={() => console.log('clicked')}>
Click me
</Button>
);
}
import '@myelmut/design-system/dist/index.css';
import { Button } from '@myelmut/design-system';
function App() {
return <Button variant="primary">Click me</Button>;
}
The package includes:
dist/index.css) and source CSS (styles/)@myelmut/design-system/
βββ dist/
β βββ index.cjs.js # CommonJS bundle
β βββ index.es.js # ES module bundle
β βββ index.css # Compiled styles
β βββ types/ # TypeScript declarations
βββ styles/
β βββ globals.css # Source Tailwind CSS
βββ assets/
βββ fonts/ # Font files
βββ images/ # Image assets
βββ illustrations/ # Illustration files (webp)
You can import assets directly from the package:
// Import source CSS (if you want to customize Tailwind)
// Import compiled CSS (recommended for most use cases)
import '@myelmut/design-system/dist/index.css';
import '@myelmut/design-system/styles/globals.css';
// Import illustrations
const chickenImage = '@myelmut/design-system/assets/illustrations/chicken.webp';
const fridgeImage = '@myelmut/design-system/assets/illustrations/fridge.webp';
const leafImage = '@myelmut/design-system/assets/illustrations/leaf.webp';
const potImage = '@myelmut/design-system/assets/illustrations/pot.webp';
pnpm run build - Build the librarypnpm run storybook - Run Storybook dev serverpnpm run build-storybook - Build Storybook for deploymentpnpm run typecheck - Run TypeScript type checkingsrc/
βββ components/ # React components
β βββ Button/
β βββ Button.tsx
β βββ Button.stories.tsx
βββ styles/ # Global styles
β βββ globals.css
βββ index.ts # Main export file
FAQs
Design system for Elmut project
We found that @myelmut/design-system 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
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.