Socket
Book a DemoInstallSign in
Socket

agnostic-svelte-ts

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agnostic-svelte-ts

This is the [Svelte version](https://github.com/AgnosticUI/agnosticui/tree/master/agnostic-svelte) of [AgnosticUI](https://github.com/AgnosticUI/agnosticui).

latest
npmnpm
Version
1.1.24
Version published
Maintainers
1
Created
Source

AgnosticUI Svelte

This is the Svelte version of AgnosticUI.

As earlier versions of Svelte caused binding issues in several of AgnosticUI's components, we've upgraded the library using the latest Svelte-Kit and requires "svelte": "^3.47.0" and later.

AgnosticUI Docs

Npm install

  • npm install agnostic-svelte or yarn add agnostic-svelte
  • In your project's public/index.html ensure sure you've included the bundle.css
  • In your src/App.svelte import agnostic-svelte/css/common.min.css before any agnostic-svelte components; it will look something like:
<script>
	import 'agnostic-svelte/css/common.min.css';
	import { Button } from 'agnostic-svelte';
</script>

<!-- In your html section you can now use the agnostic-svelte component -->
<Button>Go</Button>

A complete kitchen sink example is located in ./examples/src/App.svelte

FAQs

Package last updated on 13 Jan 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