🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@klevu/ui

Package Overview
Dependencies
Maintainers
3
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@klevu/ui

Klevu UI web components. Klevu provides advanced AI-powered search and discovery solutions for online retailers.

Source
npmnpm
Version
2.5.1
Version published
Weekly downloads
159
329.73%
Maintainers
3
Weekly downloads
 
Created
Source

@klevu/ui

The @klevu/ui package provides a set of UI components that can be easily integrated into your web application. These components are built using StencilJS and are designed to be used as web components, allowing you to easily include them in your existing web application.

Read more and learn: https://webcomponents.klevu.com

Installation

To install @klevu/ui, you can use npm or yarn:

npm install @klevu/ui
yarn add @klevu/ui

Usage

Once you have installed @klevu/ui, you can import the components you need and use them in your application:

Copy code
<!DOCTYPE html>
<html>
  <head>
    <script type="module" src="path/to/@klevu/ui.js"></script>
  </head>
  <body>
    <klevu-button>Click me</klevu-button>
  </body>
</html>

Generating parts

Special thing about Klevu UI components is that all parts of the subcomponents are exposed to main component in order to make things editable.

To generate list of parts that can be modified for documentation and development purposes use npm run generate:parts command to generate them.

Icons

Some of the icons are preloaded into the project in order to improve performance of the library. These files are manated in preloaded-icons.json file in klevu-icons component.

After updating that file it is possible to run npm run generate:icons that will automatically download specified icons from Github.

Contributing

If you would like to contribute to @klevu/ui, please follow these steps:

  • Fork the repository.
  • Create a new branch for your changes.
  • Make your changes and commit them with a descriptive message.
  • Push your changes to your fork.
  • Create a pull request.

License

@klevu/ui is licensed under the MIT License.

Keywords

search

FAQs

Package last updated on 18 Sep 2024

Did you know?

Socket

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.

Install

Related posts