
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
@nokkel/components
Advanced tools
A repository for re-usable, React-based components for use across web applications within the Nokkel ecosystem.
To create a component directory, run `npm run create:component --name="INSERT NAME HERE"
To create an icon, run `npm run create:icon --name="INSERT NAME HERE"
Nokkel components are structured like so:
src/
├── components/
│ └── [Component]/
│ ├── [Component].css
│ ├── [Component].stories.tsx
│ ├── [Component].tsx
│ ├── index.ts
│ └── types.ts
├── context/
│ ├── [context].tsx
│ └── index.ts
├── hooks/
│ ├── [hook].ts
│ └── index.ts
├── icons/
│ ├── [Icon]
| ├── [Icon].stories.tsx
│ └── index.ts
├── styles/
│ └── global.css
├── sections/
│ └── [Section]/
│ ├── [Section].css
│ ├── [Section].stories.tsx
│ ├── [Section].tsx
│ ├── index.ts
│ └── types.ts
├── utils/
│ ├── [Util].ts
│ └── index.ts
└── index.ts
Component.css
is where the component classes are stored. We use tailwind styles with the @apply for styles.
[data-theme="[brand]"]
selector in order to change that specific class for brands.Component.stories.tsx
is where the story for Storybook is stored.
satisfies Meta<typeof [Component]>
. It's suggested to use the same pattern in Button.stories.tsxComponent.tsx
contains the actual component.
data-testid=[component]
for testing purposes and identification of component.types.ts
contains all the types such as props.
index.ts
exports the component and types. We use this to export the component to the parent folder.FAQs
Nokkel component library for React-based applications
We found that @nokkel/components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers 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 MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.