Components
Available components
Form
Navigation
Other
- Branding
- Card
- Card Grid
- Code Sample Bare
- Code Sample Display
- Code Sample HTML
- Code Sample iframe
- Code Sample Raw HTML
- Content w/ sidebar
- Field
- Gallery
- Hero
- Link
- List
- List header
- List items
- Menu
- Menu link
- Menu Wrapper
- Menu Wrapper Item
- Page
- Page footer
- Page header
- Pager
- Primary Nav
- Primary Nav Starter
- Primary Nav Starter
- Responsive menu
- Responsive menu toggle
- Screenshot
- Search Box
- Swiper
- Swiper slide
- Tabs
- Tag
- Teaser
Button
ID: mantra_starter:button
Buttons allow the user to take actions or make choices.
| Name | Label | Type | Description |
|---|---|---|---|
label
|
Label | Slot | |
size
|
Size | Enum | It is possible to set the size of buttons. Allowed values: small, medium, large |
display
|
Display | String | IE block, inline-block |
url
|
URL | Url | The button URL. Optional. |
Buttons demo
ID: mantra_starter:buttons_demo
List all buttons
| Name | Label | Type | Description |
|---|---|---|---|
buttons
|
Buttons | Slot |
Branding
ID: mantra_starter:branding
Site name, logo, slogan.
| Name | Label | Type | Description |
|---|---|---|---|
site_name
|
Site name | String | |
site_logo
|
Site logo | String | |
site_slogan
|
Site slogan | String |
Card
ID: mantra_starter:card
Status: experimental
| Name | Label | Type | Description |
|---|---|---|---|
image
|
Image | Slot | |
content
|
Content | Slot | |
caption
|
Caption | Slot | |
title
|
Title | String | |
url
|
URL | String | |
aspect
|
Aspect ratio | Enum | Allowed values: 1-1, 2-1, 3-1, 4-1, 3-2 |
max_width
|
Max width | Enum | Allowed values: xs, sm, md, lg, xl |
center
|
Center | Boolean | |
padding
|
Padding | Enum | Allowed values: 1, 2, 3, 4 |
padding_x
|
Padding x | Enum | Allowed values: 1, 2, 3, 4 |
padding_y
|
Padding y | Enum | Allowed values: 1, 2, 3, 4 |
border
|
Border | Enum | Allowed values: 1, 2, 3, 4 |
Card Grid
ID: mantra_starter:card_grid
Status: experimental
| Name | Label | Type | Description |
|---|---|---|---|
rows
|
Rows | Slot | |
title
|
Title | String | |
gap_x
|
Gap x | Enum | Allowed values: 1, 2, 3, 4 |
gap_y
|
Gap y | Enum | Allowed values: 1, 2, 3, 4 |
Code Sample Bare
ID: code_sample:code_sample_bare
Status: experimental
| Name | Label | Type | Description |
|---|---|---|---|
html
|
HTML | Slot | |
css
|
CSS | Slot | |
js
|
JS | Slot |
Code Sample Display
ID: code_sample:code_sample_display
Status: experimental
| Name | Label | Type | Description |
|---|---|---|---|
url
|
Url | String | |
title
|
Title | String |
Code Sample HTML
ID: code_sample:code_sample_html
Status: experimental
| Name | Label | Type | Description |
|---|---|---|---|
title
|
Title | String | |
html
|
HTML | String | |
css
|
CSS | String | |
js
|
JS | String |
Code Sample iframe
ID: code_sample:code_sample_iframe
Status: experimental
| Name | Label | Type | Description |
|---|---|---|---|
id
|
ID | String | |
title
|
Title | String |
Code Sample Raw HTML
ID: code_sample:code_sample_raw_html
Status: experimental
| Name | Label | Type | Description |
|---|---|---|---|
title
|
Title | String | |
html
|
HTML | String | |
css
|
CSS | String | |
js
|
JS | String |
Content w/ sidebar
ID: mantra_starter:content_w_sidebar
| Name | Label | Type | Description |
|---|---|---|---|
content
|
Content | Slot | |
sidebar
|
Sidebar | Slot |
Field
ID: mantra_starter:field
Status: stable
| Name | Label | Type | Description |
|---|---|---|---|
body
|
Body | Slot | |
label
|
Label | String |
Gallery
ID: mantra_starter:gallery
Status: experimental
| Name | Label | Type | Description |
|---|---|---|---|
images
|
Images | Slot |
Hero
ID: mantra_starter:hero
Status: experimental
| Name | Label | Type | Description |
|---|---|---|---|
background_image
|
Background Image | Slot | |
content
|
Content | Slot | |
caption
|
Caption | Slot | |
title
|
Title | String | |
url
|
URL | String |
Link
ID: mantra_starter:link
Link examples.
| Name | Label | Type | Description |
|---|---|---|---|
text
|
Text | String | |
url
|
Url | String | |
display
|
Display | Enum | Allowed values: link, hover, focus, active, visited |
List
ID: mantra_starter:list
Content list.
| Name | Label | Type | Description |
|---|---|---|---|
header
|
Header | Slot | |
items
|
Items | Slot |
- one
- two
- three
List header
ID: mantra_starter:list_header
Content list header.
| Name | Label | Type | Description |
|---|---|---|---|
text
|
Text | String | |
header_size
|
Header size | Enum | Default: "normal" Required Allowed values: normal, large |
List items
ID: mantra_starter:list_items
Content list items.
| Name | Label | Type | Description |
|---|---|---|---|
items
|
Items | List | |
list_type
|
List type | Enum | Default: "ul" Required Allowed values: ol, ul |
line_height
|
Line height | Enum | Default: 1 Allowed values: 1, 2, 3 |
list_title
|
List title | String | |
column_width
|
Column width | String | Default: "auto" |
column_count
|
Column count | Enum | Default: "auto" Allowed values: auto, 2, 3, 4, 6, 8 |
- one
- two
- three
- one
- two
- three
- one
- two
- three
- four
- five
- six
- seven
- eight
- nine
- ten
- eleven
- twelve
- thirteen
- fourteen
- fifteen
- sixteen
- seventeen
- eighteen
- nineteen
- twenty
- one
- two
- three
- one
- two
- three
- one
- two
- three