
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
@codux-pond/component-templates
Advanced tools
This project is a collection of component templates that can be used to create new components for the Codux. It is also contains a catalog of the components that are created using these templates as the main app.
Create a new folder in the src/component-templates
directory with the component name in snake case all lowercase and dashed. (e.g. fancy-button
, fine-card
, tpl-input
, etc.)
The folder should contain the following files:
where COMPONENT_NAME
is the name of the component. (same as the folder name)
COMPONENT_NAME.tsx
- The component template.COMPONENT_NAME.module.css
- The component styles.COMPONENT_NAME.component.json
- The component packer metadata entry.metadata
- Directory containing the component metadata (will not be included in the installation).The component template can contain variables that will be replaced with the actual values when the component is created. Currently, the following variables are supported:
___COMPONENT_NAME___
- The name of the component.Note:
We do not replace variables in all text files. We only replace variables in typescript
, .css
, .md
and .json
files. (this can be changed according to the requirement)
There is a casing convention for the variables:
In the project directory, you can run:
npm run build
Build the application in production mode into a folder named dist
. This folder can be served using any HTTP server.
npm run dev
Start dev server, aliases: vite dev
, vite serve
.
Open http://127.0.0.1:5173/ to view it in the browser.
npm run preview
Boots up a local static web server that serves the files from dist at http://localhost:4173
. It's an easy way to check if the production build looks OK in your local environment.
FAQs
Codux Component Templates
The npm package @codux-pond/component-templates receives a total of 0 weekly downloads. As such, @codux-pond/component-templates popularity was classified as not popular.
We found that @codux-pond/component-templates demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Product
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.