Skip to content

Files

Latest commit

ea8a35a · Mar 25, 2023

History

History
This branch is 1 commit ahead of AgnosticUI/agnosticui:master.

agnostic-svelte

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 23, 2022
Jan 13, 2023
Mar 25, 2023
Jan 23, 2022
Oct 9, 2021
Jan 23, 2022
Mar 11, 2022
Jan 23, 2022
Nov 1, 2021
Jan 23, 2022
Apr 10, 2022
Mar 31, 2022
Dec 27, 2021
Jan 23, 2022
Apr 23, 2022
Jan 23, 2022
Jan 13, 2023
Jan 23, 2023
Jan 23, 2022
Jan 23, 2022

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.46.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