All Projects → yoshuawuyts → base-elements

yoshuawuyts / base-elements

Licence: MIT license
A selection of configurable native DOM UI elements

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to base-elements

Periodic Table
Periodic elements data
Stars: ✭ 119 (+190.24%)
Mutual labels:  element
Renren Aui
项目已迁移至rubik-admin。
Stars: ✭ 163 (+297.56%)
Mutual labels:  element
Element Tree Grid
tree grid extends element ui with vue
Stars: ✭ 223 (+443.9%)
Mutual labels:  element
Vue Todos
vue最新实战项目教程,从零开始,一步一个脚印,循序渐进。跟着我一起学习vue吧!
Stars: ✭ 1,659 (+3946.34%)
Mutual labels:  element
Fantastic Admin
一款开箱即用的 Vue 中后台管理系统框架,基于ElementUI,兼容PC、移动端,vue-admin, vue-element-admin, vue后台
Stars: ✭ 153 (+273.17%)
Mutual labels:  element
Vue Manage System
基于Vue3 + Element Plus 的后台管理系统解决方案
Stars: ✭ 14,174 (+34470.73%)
Mutual labels:  element
Vblog
使用GitHub API 搭建一个可动态发布文章的博客
Stars: ✭ 1,375 (+3253.66%)
Mutual labels:  element
Vue Element Admin
🎉 A magical vue admin https://panjiachen.github.io/vue-element-admin
Stars: ✭ 73,044 (+178056.1%)
Mutual labels:  element
Emergence.js
Detect element visibility in the browser
Stars: ✭ 1,891 (+4512.2%)
Mutual labels:  element
Nx Admin
👍 A magical 🐮 ⚔ vue admin,记得star
Stars: ✭ 2,497 (+5990.24%)
Mutual labels:  element
D2 Admin
An elegant dashboard
Stars: ✭ 11,012 (+26758.54%)
Mutual labels:  element
Sparselizard
C++ FEM library | user-friendly | multi-physics | hp-adaptive
Stars: ✭ 145 (+253.66%)
Mutual labels:  element
Ruhua
如花商城系统thinkphp6+uniapp,小程序直播拼团限时分销APP商城
Stars: ✭ 181 (+341.46%)
Mutual labels:  element
Familybucket Ui
微服务UI端-配置管理-网关管理-追踪展示-日志查询-监控查看-服务管理......
Stars: ✭ 120 (+192.68%)
Mutual labels:  element
Component Size
React hook for determining the size of a component
Stars: ✭ 224 (+446.34%)
Mutual labels:  element
Ruoyi Vue Fast
(RuoYi)官方仓库 基于SpringBoot,Spring Security,JWT,Vue & Element 的前后端分离权限管理系统
Stars: ✭ 107 (+160.98%)
Mutual labels:  element
Juliafem.jl
The JuliaFEM software library is a framework that allows for the distributed processing of large Finite Element Models across clusters of computers using simple programming models. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage.
Stars: ✭ 167 (+307.32%)
Mutual labels:  element
RuoYi-Cloud-Vue3
🎉 基于Spring Boot、Spring Cloud & Alibaba、Vue3 & Vite、Element Plus的分布式前后端分离微服务架构权限管理系统
Stars: ✭ 295 (+619.51%)
Mutual labels:  element
Element Dashboard
element dashboard
Stars: ✭ 225 (+448.78%)
Mutual labels:  element
Element Patch
An extension package based on vue and element-ui. 一个基于 vue 与 element-ui 的扩展包,提供数据驱动的表单渲染,菜单渲染,表格拖拽,权限控制等功能
Stars: ✭ 187 (+356.1%)
Mutual labels:  element

base-elements stability

npm version build status downloads js-standard-style

A selection of configurable native DOM UI elements. Inspired by rebass and tachyons.

Usage

var Avatar = require('base-elements/avatar')
var css = require('sheetify')
var html = require('bel')

css('tachyons')

var tree = html`<main>${Avatar()}</main>`
document.body.appendChild(tree)

API

avatar(src, opts?)

Create a circular avatar image. src is a URL. opts can contain:

  • size: (default: 3) set the size of the element. Enums: {1, 2, 3, 4, 5}
  • radius: (default: 100) set the radius of the element. Enums: {0, 1, 2, 3, 4, 100}
  • class: (default: '') set additional classes on the element

progress(value, opts?)

Create a progress bar. value is a number between 0 and 1. opts can contain:

  • reverse: (default: 'false') reverses the progress bar direction
  • class: (default: '') set additional classes on the element

tooltip(text, opts, child)

Create a tooltip on a child element from a string. opts can contain:

  • position: (default: 'up') set the position of the tooltip. Enums: { 'up', 'down', 'left', 'right' }
  • class: (default: '') set additional classes on the element

modal(opts)

Create a new modal element. opts is similar to the those passed into nanocomponent. Some properties are slightly different:

  • render: (required). Creates the inner content for the modal element; floated in the center of the page.
  • onexit: called when the element scrolls out of view, or the esc key is pressed. Useful to trigger unmounts with
  • class: add extra classes on the element

See Also

Installation

$ npm install base-elements

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].