Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

agnostic-svelte

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agnostic-svelte

AgnosticUI (svelte)

  • 1.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
271
decreased by-12.3%
Maintainers
1
Weekly downloads
 
Created
Source

AgnosticUI Svelte

At time of writing, Svelte version 3.43.0 has a bug that prevents successful running of a built library; see the bug. As such, I'm locking Svelte to 3.39.0 until that gets resolved.

This is the Svelte version of AgnosticUI.

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/dist/common.min.css before any agnostic-svelte components; it will look something like:
<script>
	import 'agnostic-svelte/dist/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

Static docs

You can also view the static Storybook docs that get distributed in the agnostic-svelte package with:

open ./node_modules/agnostic-svelte/docs/index.html

Local Development

If you've cloned this repo (as opposed to npm / yarn installing), you can run the agnostic-svelte Storybook examples with the following from one directory higher path/to/agnosticui (not agnosticui/agnostic-svelte!)

yarn && yarn start:svelte

Keywords

FAQs

Package last updated on 23 Dec 2021

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