Skip to content

Commit f9bf18a

Browse files
committed
fix: added license and readme file
1 parent 2c1617f commit f9bf18a

File tree

2 files changed

+108
-1
lines changed

2 files changed

+108
-1
lines changed

LICENSE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
MIT License with Name Retention Clause
2+
3+
Copyright (c) 2024 Mohammad Rahid Stanikzai
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
**Name Retention Clause**: Any derivative works or modifications of this Software
16+
must retain the original name of the Software as specified by the original author.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24+
SOFTWARE.

lib/README.md

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,84 @@
1-
This vue component library will help save money and time.
1+
# Vue Sketchy Components Library
2+
3+
Welcome to the **Codeglyn UI Kit**! This library is designed to help you save time and money by providing simple yet powerful UI components that you can easily integrate into your projects.
4+
5+
## Table of Contents
6+
7+
- Introduction
8+
- Components
9+
- SketchyDiv
10+
- SketchyBtn
11+
- Tabs and Tab
12+
- SketchyHLine
13+
- Installation
14+
- Usage
15+
- Contributing
16+
- License
17+
18+
## Introduction
19+
20+
The Vue Sketchy Components Library allows you to build and design your UI without worrying too much about the details. It's simple but powerful, making it easy to create beautiful interfaces quickly.
21+
22+
## Components
23+
24+
### SketchyDiv
25+
26+
The `SketchyDiv` component is the most basic component in this library. It can be used anywhere just like normal `<div>` elements.
27+
28+
### SketchyBtn
29+
30+
The `SketchyBtn` component is a button that works just like normal buttons. It's easy to use and customize.
31+
32+
### Tabs and Tab
33+
34+
The `Tabs` component is the parent element, and the `Tab` component should be placed inside it. This allows you to create tabbed interfaces effortlessly.
35+
36+
### SketchyHLine
37+
38+
The `SketchyHLine` component is a simple horizontal line separator that you can use to divide sections of your UI.
39+
40+
## Installation
41+
42+
To install the Vue Sketchy Components Library, use npm or yarn:
43+
44+
```bash
45+
npm install codeglynuikit
46+
```
47+
48+
## Usage
49+
```javascript
50+
<template>
51+
<SketchyDiv class="pd" style="margin-bottom: 10px">INsied</SketchyDiv>
52+
<SketchyBtn
53+
label="Click"
54+
style="padding: 10px 5px; font-size: 18px; margin-bottom: 100px"
55+
/>
56+
<SketchyHLine />
57+
<div>NEXT</div>
58+
<br />
59+
<SketchyTabs v-model="tab">
60+
<SketchyTab name="focuz" label="Focuz Time" />
61+
<SketchyTab name="short" label="Short Break" />
62+
<SketchyTab name="long" label="Long Break" />
63+
</SketchyTabs>
64+
</template>
65+
66+
<script setup>
67+
import { SketchyDiv, SketchyBtn, SketchyHLine, SketchyTab, SketchyTabs } from "codeglynuikit";
68+
import { ref } from "vue";
69+
70+
const tab = ref("focuz")
71+
72+
</script>
73+
74+
<style>
75+
.pd {
76+
padding: 80px;
77+
}
78+
</style>
79+
```
80+
## Contributing
81+
We welcome contributions to the Vue Sketchy Components Library! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request on our GitHub repository or you can also contact me through my email. I would love to hear from me.
82+
83+
## Licence
84+
This project is licensed under the MIT License. See the LICENSE file for more details.

0 commit comments

Comments
 (0)