Socket
Book a DemoInstallSign in
Socket

tayeh-ui

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tayeh-ui

Free and Open source Ui components, Ultimatly lightweight.

0.4.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

tayeh-ui

Build Status NPM version


Goals

  • stay lightweight

  • keep it simple

  • be extendable

  • become theme compatible


Install and Usage


# installing package

npm install --save tayeh-ui

in your Vue main.js file


import  Vue  from  'vue';

import  App  from  './App'

import  TayehUi  from  'tayeh-ui'

  

Vue.use(TayehUi)

  

new  Vue({

el: '#app',

render: h  =>  h(App)

})

  

Examples

You can checkout examples by running

// running examples
npm run dev

Screenshots

Inputs

    <ty-input v-model="model" placeholder="لطفا نام را وارد کنید"></ty-input>
    <ty-input-number v-model="model" label="نام"></ty-input-number>
    <ty-currency-input v-model="model"></ty-currency-input>

Tayeh UI Input Tayeh UI Currency Input

Icons

    <i class="ty-icon ty-icon-heart"></i>
    <ty-button icon="heart"></ty-button>

Tayeh UI Icons

Buttons

    <ty-button @click="clickHandler">Click Here</ty-button>
    <ty-button color="secondary">Click Here</ty-button>
    <ty-button size="small">Click Here</ty-button>

Tayeh UI Buttons

Card

    <ty-card>Card Content</ty-card>

Tayeh UI Card

Border

    <ty-border>Border Content</ty-border>

Tayeh UI Card

Border

    <p class="of-text-ellipsis">Very Long Text That should be truncated</p>

Tayeh UI Text

Border

    <div v-loading="stillLoading">Content That shoud wait for loading</div>

Tayeh UI Loading

Color Picker

    <ty-color-picker v-model="color" @change="handleChange"></ty-color-picker>
    <ty-color-circle v-model="color" editable></ty-color-circle>

Tayeh UI Color

Container

    <ty-container>
        <ty-header>Header</ty-header>
        <ty-container>
            <ty-aside>Aside</ty-aside>
            <ty-main>Main</ty-main>
        </ty-container>
    </ty-container>

Tayeh UI Container

Tabs

    <ty-tabs>
        <ty-tab id="tab-1" name="Tab 1">Tab 1 Content</ty-tab>
        <ty-tab id="tab-2" name="Tab 2">Tab 2 Content</ty-tab>
        <ty-tab id="tab-3" name="Tab 3">Tab 3 Content</ty-tab>
    </ty-tabs>

Tayeh UI Tabs

Keywords

ui

FAQs

Package last updated on 25 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.