Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/holyhigh2/uiik

A UI Interactions kit includes draggable, splittable, rotatable, selectable, etc.
https://github.com/holyhigh2/uiik

Last synced: 8 days ago
JSON representation

A UI Interactions kit includes draggable, splittable, rotatable, selectable, etc.

Awesome Lists containing this project

README

        

![npm](https://img.shields.io/npm/v/uiik?style=plastic)
![NPM](https://img.shields.io/npm/l/uiik)

# Uiik
A UI interaction kit includes draggable, splittable, rotatable, selectable, etc.
> English | [δΈ­ζ–‡](./README_ZH.md)

- [πŸ“‘ Documentation](https://holyhigh2.github.io/uiik/)
- [⚑ Play on StackBlitz](https://stackblitz.com/edit/uiik)

## Features
- Draggable/Droppable/Splittable/rotatable/selectable/Resizable
- Customizable CSS interfaces like 'uii-draggable-handle', 'uii-splittable-handle'...
- Rich options
- SVG support

## Quick start
1. install
```sh
npm i uiik
```
2. import
```ts
import uiik from 'uiik'
//or
import {newSplittable} from 'uiik'
//or
import {Splittable} from 'uiik'
//or
import uiik from 'https://cdn.skypack.dev/uiik'
```
3. import module
```ts
import {newSplittable} from 'uiik/splittable'
//or
import {newSortable} from 'uiik/sortable'
```

## Development
1. use `test` to do jest
2. use `build` to rollup uiik
3. use `doc` to gen tsdoc