og-ui-svelte-kit
v1.1.3
Published
`og-ui-svelte-kit` is a UI library designed for [Svelte](https://svelte.dev/), offering a collection of versatile components and widgets to simplify building rich and interactive applications.
Readme
og-ui-svelte-kit
og-ui-svelte-kit is a UI library designed for Svelte, offering a collection of versatile components and widgets to simplify building rich and interactive applications.
Table of Contents
Installation
To install og-ui-svelte-kit, run:
npm install og-ui-svelte-kitUsage
Once installed, import any component directly into your Svelte project. For example:
<script>
import { Button } from 'og-ui-svelte-kit/components';
</script>
<Button text="Click me" />Components
This library includes the following components:
- Alert:
Alert.svelte - Avatar:
Avatar.svelte - Button:
Button.svelte - Chip:
Chip.svelte - ContentGrid:
ContentGrid.svelte - ControlOverlay:
ControlOverlay.svelte - Drawer:
Drawer.svelte - EntityCard:
EntityCard.svelte - FileInput:
FileInput.svelte - Icon:
Icon.svelte - IconButton:
IconButton.svelte - IntersectionObserver:
IntersectionObserver.svelte - LoadingSpinner:
LoadingSpinner.svelte - PostCard:
PostCard.svelte - Skeleton:
Skeleton.svelte - TextField:
TextField.svelte
Widgets
The library also provides a set of widgets:
- CommentsDrawer:
CommentsDrawer.svelte - SwiperImage:
SwiperImage.svelte - SwiperGif:
SwiperGif.svelte - SwiperVideo:
SwiperVideo.svelte - SwiperButton:
SwiperButton.svelte - SwiperPostView:
SwiperPostView.svelte - SwiperTouchGesture:
SwiperTouchGesture.svelte - VideoPlayer:
VideoPlayer.svelte - VideoPlayerControl:
VideoPlayerControl.svelte - VideoPlayerWithControl:
VideoPlayerWithControl.svelte
Contributing
Contributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request.
License
This project is licensed under the MIT License.
