
Security News
pnpm 10.16 Adds New Setting for Delayed Dependency Updates
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
@skqksh/kaia-design-system
Advanced tools
**Note: This repository is currently in the experimental stage. Features and implementations are subject to change as development progresses.**
Note: This repository is currently in the experimental stage. Features and implementations are subject to change as development progresses.
This is the Kaia Design System built with React and emotion/styled, using Yarn for package management and building the project. The kit includes a variety of reusable UI components and SVG icons.
Clone the repository and install dependencies.
git clone https://github.com/kaiachain/kaia-design-system
cd kaia-design-system
yarn install
To build the project, use the following command:
yarn build
This will generate the dist
folder containing the built files: index.js
, index.js.map
, index.esm.js
, and index.esm.js.map
.
To use a component from the design system, import it into your project:
import React from 'react';
import { Button } from 'kaia-design-system';
const App = () => (
<div>
<Button>Click Me</Button>
</div>
);
export default App;
The design system includes a variety of SVG icons. You can import and use them as follows:
import React from 'react';
import Icons from 'kaia-design-system/icons';
const IconComponent: React.FC = () => (
<div>
<Icons.AddressBook />
<Icons.Gift />
{/* Other icons can be used similarly */}
</div>
);
export default IconComponent;
To add new SVG icons, place your .svg
files in the src/icons
directory or its subdirectories. Then, run the generateIcons.js
script to automatically generate the imports and exports for the icons.
node generateIcons.js
For development, use the following command to start a development server with hot reloading:
yarn start
To run tests, use the following command:
yarn test
yarn build
: Builds the project for production.yarn start
: Starts the development server.yarn test
: Runs the test suite.node generateIcons.js
: Generates icon imports and exports.This project is licensed under the MIT License.
Contributions are welcome! Please open an issue or submit a pull request.
Special thanks to the open-source community for providing valuable tools and libraries that made this project possible.
FAQs
**Note: This repository is currently in the experimental stage. Features and implementations are subject to change as development progresses.**
The npm package @skqksh/kaia-design-system receives a total of 0 weekly downloads. As such, @skqksh/kaia-design-system popularity was classified as not popular.
We found that @skqksh/kaia-design-system demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.