Layout

Contains of several components.

  • <mu-container />
  • <mu-row />
  • <mu-col />

Basic usage

Create basic grid layout using columns.

<mu-container>
    <mu-row>
        <mu-col md="12"><div class="grid-content bg-purple-dark"></div></mu-col>
    </mu-row>

    <mu-row>
        <mu-col md="6"><div class="grid-content bg-purple"></div></mu-col>
        <mu-col md="6"><div class="grid-content bg-purple-light"></div></mu-col>
    </mu-row>

    <mu-row>
        <mu-col md="4"><div class="grid-content bg-purple"></div></mu-col>
        <mu-col md="4"><div class="grid-content bg-purple-light"></div></mu-col>
        <mu-col md="4"><div class="grid-content bg-purple"></div></mu-col>
    </mu-row>

    <mu-row>
        <mu-col md="3"><div class="grid-content bg-purple"></div></mu-col>
        <mu-col md="3"><div class="grid-content bg-purple-light"></div></mu-col>
        <mu-col md="3"><div class="grid-content bg-purple"></div></mu-col>
        <mu-col md="3"><div class="grid-content bg-purple-light"></div></mu-col>
    </mu-row>

    <mu-row>
        <mu-col md="2"><div class="grid-content bg-purple"></div></mu-col>
        <mu-col md="2"><div class="grid-content bg-purple-light"></div></mu-col>
        <mu-col md="2"><div class="grid-content bg-purple"></div></mu-col>
        <mu-col md="2"><div class="grid-content bg-purple-light"></div></mu-col>
        <mu-col md="2"><div class="grid-content bg-purple"></div></mu-col>
        <mu-col md="2"><div class="grid-content bg-purple-light"></div></mu-col>
    </mu-row>
</mu-container>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

Demo