Tardigrada777 / vue-layouts

🧱🧱🧱 Small, simple and fast lib for convinience building layouts with Vue 3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test:unit

vue-layouts (l5s)

Small, simple and fast lib for convinience building layouts with Vue 3.

Warning!

Currently is under hard development. If you have any ideas how to improve this lib, PR's are welcome.

development and contributing

  1. install deps
yarn
  1. run dev server
yarn serve
  1. run unit tests
yarn test:unit

Examples

sticky

html
<l-sticky>
  <div class="topbar"></div>
</l-sticky>
props
name type default description
to string top direction to stick top, right, bottom, left
offset number 0 offset amount, that converts to Npx value for to
slots
name description
default content passed via default slot

TODO (proto)

  • base component with common properties
    • z (z-index)
    • tag
    • mx, my
    • mt, mr, mb, ml
    • px, py
    • pt, pr, pb, pl
  • fix
  • sticky
  • absolute
  • center
  • container (using css vars)
  • row (using css vars)
  • column (using css vars)

About

🧱🧱🧱 Small, simple and fast lib for convinience building layouts with Vue 3.


Languages

Language:TypeScript 61.3%Language:Vue 27.2%Language:HTML 4.7%Language:SCSS 4.5%Language:JavaScript 2.4%