@medyll/idae-slotui-svelte
v0.181.4
Published
A Svelte 5 component library for building modular and reactive user interfaces.
Downloads
120
Readme
@medyll/idae-slotui-svelte
This package is part of the Idae monorepo and focuses on providing slot UI components for Svelte applications.
It aims to offer a set of reusable and customizable slots to enhance the development of web applications.
Features
- Reusable Components: Prebuilt slot-based components to speed up development.
- Customizable: Easily adapt components to fit your application's design and functionality.
- Svelte Integration: Designed specifically for Svelte, ensuring seamless integration.
- Lightweight: Minimal dependencies for optimal performance.
Installation
To install the package, use your preferred package manager:
npm install @medyll/idae-slotui-svelte
# or
yarn add @medyll/idae-slotui-svelte
# or
pnpm add @medyll/idae-slotui-svelteUsage
Import and use the components in your Svelte application:
<script>
import { SlotComponent } from '@medyll/idae-slotui-svelte';
</script>
<SlotComponent>
<div slot="header">Header Content</div>
<div slot="body">Body Content</div>
<div slot="footer">Footer Content</div>
</SlotComponent>Contributing
Contributions are welcome! Please refer to the contribution guidelines for more details.
License
This package is licensed under the MIT License. See the LICENSE file for more information.
