6.2.1 • Published 8 months ago

@forter/layout v6.2.1

Weekly downloads
160
License
Apache-2.0
Repository
github
Last release
8 months ago

fc-card

a container to populate visuals and present in a clean nice way.

Usage

<script>
   import '@forter/layout';
</script>

<fc-card></fc-card>

Examples

<!-- invalid -->
<fc-card size="invalid"></fc-card>

Properties

PropertyAttributeTypeDefaultDescription
flatflatbooleanfalseWhether the card is in flattern style
intentintent"warn" \| "success" \| "danger" \| "cancel" \| "primary" \| "secondary""default"intent color to emphasize the type of alert
size"no" \| "small" \| "medium" \| "large"

Slots

NameDescription
card content. example: <div> Card </div>

CSS Custom Properties

PropertyDescription
--fc-card-hover-shadow-colorhover shadow color. default: var(--fc-grey-100), example: gold
--fc-card-paddingpadding. example: 50px, default: 30px
--fc-card-shadow-colorshadow color. default: var(--fc-gray-200), example: gold

fc-header

Usage

<script>
   import '@forter/layout';
</script>

<fc-header>
   <div>My header</div>
</fc-header>

Examples

<!-- logoExample -->
<fc-header>
   <fc-icon slot="logo" icon="admin"></fc-icon>
   <div> Logo.... and header!</div>
</fc-header>`

Properties

PropertyAttributeType
hasLogohasLogoboolean

Slots

NameDescription
content slot
logologo slotted. example: <fc-icon slot="logo" icon="admin"></fc-icon>

CSS Custom Properties

PropertyDescription
--fc-header-heightdefault: 64px
--fc-header-justify-contentdefault: center
--fc-header-logo-border-colordefault: var(--ftr-cyan)
--fc-header-paddingdefault: 0 16px
--fc-header-shadow-colordefault: var(--ftr-gray-light)

fc-layout

** An element by Forter

Usage

<script>
   import '@forter/map';
</script>

    <fc-layout columns=2 rows=3>
      <div row-start=1 row-end=3 column-start=1 column-end=3 style="background-color: var(--fc-success-100); color: var(--fc-success-100);">0</div>
      <div style="background-color: var(--fc-primary-200);color: var(--fc-success-200);">0</div>
      <div style="background-color: var(--fc-primary-300);color: var(--fc-success-300);">0</div>
      <div style="background-color: var(--fc-primary-400);color: var(--fc-success-400);">0</div>
      <div style="background-color: var(--fc-primary-500);color: var(--fc-success-500);">0</div>
      <div style="background-color: var(--fc-primary-600);color: var(--fc-success-600);">0</div>
    </fc-layout>

Properties

PropertyAttributeTypeDefaultDescription
columnscolumnsnumber1number of columns
flowColumnflowColumnstringfalsegrid gap
gapgapstring""grid gap
rowsrowsnumber1number of rows

Slots

Name

fc-separator

a line that separates different contents.

Usage

<script>
   import '@forter/layout';
</script>

<fc-separator>
</fc-separator>

Properties

PropertyAttributeTypeDefaultDescription
directiondirection"horizontal" \| "vertical""horizontal"presentation style
typetype"solid" \| "dashed" \| "double""solid"style type

Slots

NameDescription
default using it for title. Title: <b>Title</b> Mark: <b>#</b>

CSS Custom Properties

PropertyDescription
--fc-separator-heightdefault: 100%
--fc-separator-margin-bottommargin bottom. default: 10px
--fc-separator-margin-topmargin top. default: 10px
6.2.1

8 months ago

6.2.0

8 months ago

6.1.2

2 years ago

6.1.0

2 years ago

6.1.1

2 years ago

6.0.4

2 years ago

5.5.30

2 years ago

5.5.28

2 years ago

5.5.29

2 years ago

5.5.26

2 years ago

5.5.27

2 years ago

5.5.24

2 years ago

5.5.25

2 years ago

5.5.22

2 years ago

5.5.23

2 years ago

5.5.21

2 years ago

6.0.1

2 years ago

6.0.0

2 years ago

6.0.3

2 years ago

6.0.2

2 years ago

5.5.20

2 years ago

5.5.19

2 years ago

5.5.17

2 years ago

5.5.18

2 years ago

5.5.15

2 years ago

5.5.16

2 years ago

5.5.14

2 years ago

5.5.9

2 years ago

5.5.8

2 years ago

5.5.13

2 years ago

5.5.7

2 years ago

5.5.11

2 years ago

5.5.12

2 years ago

5.5.10

2 years ago

5.5.6

2 years ago

5.5.5

2 years ago

5.5.4

3 years ago

5.5.3

3 years ago

5.5.2

3 years ago

5.5.1

3 years ago

5.5.0

3 years ago

5.4.23

3 years ago

5.4.24

3 years ago

5.4.22

3 years ago

5.4.21

3 years ago

5.4.20

3 years ago

5.4.18

3 years ago

5.4.19

3 years ago

5.4.16

3 years ago

5.4.17

3 years ago

5.4.14

3 years ago

5.4.15

3 years ago

5.4.13

3 years ago

5.4.11

3 years ago

5.4.9

3 years ago

5.4.10

3 years ago

5.4.8

4 years ago

5.4.7

4 years ago

5.4.6

4 years ago

5.4.5

4 years ago

5.4.4

4 years ago

5.4.3

5 years ago

5.4.2

5 years ago

5.4.1

5 years ago

5.3.27

5 years ago

5.4.0

5 years ago

5.3.26

5 years ago

5.3.25

5 years ago

5.3.24

5 years ago

5.3.23

5 years ago

5.3.22

5 years ago

5.3.21

5 years ago

5.3.20

5 years ago

5.3.19

5 years ago

5.3.18

5 years ago

5.3.17

5 years ago

5.3.16

5 years ago

5.3.15

5 years ago

5.3.14

5 years ago

5.3.13

5 years ago

5.3.12

5 years ago

5.3.11

5 years ago

5.3.10

5 years ago

5.3.9

5 years ago

5.3.8

5 years ago

5.3.7

5 years ago

5.3.6

5 years ago

5.3.5

5 years ago

5.3.4

5 years ago

5.3.3

5 years ago

5.3.2

5 years ago

5.3.1

5 years ago

5.3.0

5 years ago

5.2.9

5 years ago

5.2.8

5 years ago

5.2.7

5 years ago

5.2.6

5 years ago

5.2.5

5 years ago

5.2.4

5 years ago

5.2.3

5 years ago

5.2.2

5 years ago

5.2.1

5 years ago

5.2.0

5 years ago

5.1.1

5 years ago

5.1.0

5 years ago

5.0.6

5 years ago

5.0.5

5 years ago

5.0.4

5 years ago

5.0.3

6 years ago

5.0.2

6 years ago

5.0.1

6 years ago

5.0.0

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.2.4

6 years ago

3.2.3

6 years ago

3.2.2

6 years ago

3.2.1

6 years ago

3.2.0

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.1-beta.293

6 years ago

1.0.1-beta.292

6 years ago

1.0.1-beta.265

6 years ago

1.0.1-beta.262

6 years ago

1.0.1-beta.247

6 years ago

1.0.1-beta.245

6 years ago

1.0.1-beta.229

6 years ago

1.0.0

6 years ago

1.0.0-alpha.7

6 years ago

1.0.0-alpha.6

6 years ago

1.0.0-alpha.5

6 years ago

1.0.0-alpha.4

6 years ago

1.0.0-alpha.3

6 years ago

1.0.0-alpha.2

6 years ago

1.0.0-alpha.1

6 years ago

1.0.0-alpha.0

6 years ago