All Projects → SeregPie → VueFlex

SeregPie / VueFlex

Licence: MIT license
A flexbox grid system.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to VueFlex

React Flexview
A powerful React component to abstract over flexbox and create any layout on any browser
Stars: ✭ 276 (+2023.08%)
Mutual labels:  flex, grid
React Flexa
Responsive React Flexbox (CSS Flexible Box Layout Module) grid system based heavily on the standard CSS API.
Stars: ✭ 120 (+823.08%)
Mutual labels:  flex, grid
Katana
Katana is CSS Layout System made with Flexbox
Stars: ✭ 57 (+338.46%)
Mutual labels:  flex, grid
Css Grid Flex
📖An introduction about grid and flex of css.
Stars: ✭ 127 (+876.92%)
Mutual labels:  flex, grid
Bootstrap 4 Grid
Bootstrap 4 grid system and layout utilities.
Stars: ✭ 251 (+1830.77%)
Mutual labels:  flex, grid
vue-layout-system
A pack of Vue components that solve daily layout problems
Stars: ✭ 31 (+138.46%)
Mutual labels:  flex, grid
Horseshoe
🍧代号马蹄铁。以专题为单位的学习。目前已发布 { Async专题 } { Grid专题 } { Flex专题 } { Git专题 } { Regex专题 } { Redux专题 } { React专题 }
Stars: ✭ 521 (+3907.69%)
Mutual labels:  flex, grid
Flexible Grid
Flexible grid layouts to get you familiar with building within the flexible grid system.(HTML, CSS, SASS, SCSS)
Stars: ✭ 154 (+1084.62%)
Mutual labels:  flex, grid
Primereact
The Most Complete React UI Component Library
Stars: ✭ 2,393 (+18307.69%)
Mutual labels:  flex, grid
flexboxes
CSS flexbox framework with pure flexbox grid ability
Stars: ✭ 27 (+107.69%)
Mutual labels:  flex, grid
react-auto-mosaic
Automatic box behavior in the grid - responsive mosaic
Stars: ✭ 12 (-7.69%)
Mutual labels:  grid, box
baseline
New method for creating leading on the web
Stars: ✭ 31 (+138.46%)
Mutual labels:  grid
ItemDecorations
A dividers library for RecyclerView which use GridLayoutManager or LinearLayoutManager,when the RecyclerView used GridLayoutManager that supports Cross-Column feature.一款RecyclerView的分割线库,支持LinearLayoutManager和GridLayoutManager,当使用GridLayoutManager时支持跨行特性
Stars: ✭ 42 (+223.08%)
Mutual labels:  grid
InstaSmart
A Flutter app to plan and beautify your Instagram feed
Stars: ✭ 18 (+38.46%)
Mutual labels:  grid
TinyCompiler
c compiler based on flex(lex), bison(yacc) and LLVM, supports LLVM IR and obj code generation. 基于flex,bison以及LLVM,使用c++11实现的类C语法编译器, 支持生成中间代码及可执行文件.
Stars: ✭ 162 (+1146.15%)
Mutual labels:  flex
vue-gridmultiselect
Simple multi-select component with items displayed in a table like UI
Stars: ✭ 41 (+215.38%)
Mutual labels:  grid
vue-griddle
⚠️ Deprecated. A Vue.js implementation of @braid/griddle-scss with a toggleable visual overlay to help with your front-end development
Stars: ✭ 11 (-15.38%)
Mutual labels:  grid
fortune
🔮Fortune is your friendly CSS properties framework.
Stars: ✭ 16 (+23.08%)
Mutual labels:  grid
Vault-13
Canvas (Fallout 2 like) game in functional programming style
Stars: ✭ 22 (+69.23%)
Mutual labels:  grid
boxx
📦 Create highly customizable terminal boxes that also look great!
Stars: ✭ 80 (+515.38%)
Mutual labels:  box

VueFlex

A flexbox grid system.

demo

Try it out!

setup

npm

npm install @seregpie/vueflex

Register the components globally.

import Vue from 'vue';
import VueFlex from '@seregpie/vueflex';

Vue.use(VueFlex);

or

Register the components in the scope of another component.

import VueFlex from '@seregpie/vueflex';

export default {
  components: {
    [VueFlex.Box.name]: VueFlex.Box,
    [VueFlex.Item.name]: VueFlex.Item,
  },
};

browser

<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/@seregpie/vueflex"></script>

If Vue is detected, the components are registered automatically.

usage

<vue-flex-box
  align-items="center"
  gap="16px"
  justify-content="space-between"
  wrap
>
  <vue-flex-item><!--...--></vue-flex-item>
  <vue-flex-item><!--...--></vue-flex-item>
</vue-flex-box>

Nested boxes can inherit the gap from their parent.

<vue-flex-box gap="8px">
  <vue-flex-item
    style="width: 100px;"
  ><!--...--></vue-flex-item>
  <vue-flex-box
    direction-column
    gap="inherit"
    style="flex-grow: 1;"
  >
    <vue-flex-item><!--...--></vue-flex-item>
    <vue-flex-item><!--...--></vue-flex-item>
  </vue-flex-box>
</vue-flex-box>

Provide any unit for the gap.

<vue-flex-box gap="2em"><!--...--></vue-flex-box>

components

VueFlexBox

properties

property type default
alignContent String 'stretch'
alignItems String 'stretch'
directionColumn Boolean false
gap String '0px'
justifyContent String 'flex-start'
reverseDirection Boolean false
reverseWrap Boolean false
tag String 'div'
wrap Boolean false

VueFlexItem

properties

property type default
tag String 'div'
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].