0.1.3 • Published 2 months ago
@softwareone/spi-sv5-library v0.1.3
SoftwareOne SPI Component Library for Svelte
This library provides a set of reusable components to help you build modern web applications with Svelte 5 (Runes) and SvelteKit 2. Each component is designed to be easily customizable and integrate seamlessly with your Svelte projects.
Installation
To install the library, use the following command:
npm install @softwareone/swo-spi-svelte5-library
Usage
Import the components you need into your Svelte application:
import { Button,
Modal,
Spinner,
Toaster,
addToast,
type Toast,
Toggle,
Header,
Chips,
Breadcrumbs,
addBreadcrumbsNameMap,
type BreadcrumbsNameMap,
Footer,
Card
} from '@softwareone/swo-spi-svelte5-library';
List of components
- Button
- Modal
- Spinner
- Toaster
- Toggle
- Header (including a loader)
- Breadcrumbs
- Chips
- Footer
- Card