New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nuclia/widget

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuclia/widget

Nuclia search widgets

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Nuclia widget

The Nuclia widget allows to embed a ready-to-use search box in your website or web application.

Usage as a web component

Copy/paste the following snippet in your HTML code:

<script src="https://cdn.nuclia.cloud/nuclia-video-widget.umd.js"></script>
<nuclia-search-bar
  knowledgebox="<YOUR-KB-ID>"
  zone="europe-1"
  features="filter,permalink"></nuclia-search-bar>

<nuclia-search-results></nuclia-search-results>

Usage as Svelte components

You need to install the following dependencies:

npm install @nuclia/widget @nuclia/core @nuclia/prediction rxjs@^7.5.2 date-fns sass

Then, you can use the components in your Svelte code:

<script lang="ts">
  import { NucliaSearchBar, NucliaSearchResults } from '@nuclia/widget';
</script>

<NucliaSearchBar
  zone="europe-1"
  knowledgebox="<YOUR-KB-ID>"
  lang="en"
  placeholder="Search"
  features="filter,suggestions,permalink" />

<NucliaSearchResults />

Keywords

FAQs

Package last updated on 03 Mar 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc