mirror of
https://github.com/jgthms/bulma
synced 2026-03-18 11:24:29 -07:00
Component links
This commit is contained in:
@@ -1,12 +1,21 @@
|
||||
---
|
||||
title: Breadcrumb
|
||||
subtitle: "A simple <strong>breadcrumb</strong> component to improve your navigation experience"
|
||||
layout: documentation
|
||||
doc-tab: components
|
||||
doc-subtab: breadcrumb
|
||||
breadcrumb:
|
||||
- home
|
||||
- documentation
|
||||
- components
|
||||
- components-breadcrumb
|
||||
meta:
|
||||
- since: "0.4.3"
|
||||
- variables: true
|
||||
- colors: false
|
||||
- sizes: true
|
||||
---
|
||||
|
||||
{% include subnav/subnav-components.html %}
|
||||
|
||||
{% capture breadcrumb_example %}
|
||||
<nav class="breadcrumb" aria-label="breadcrumbs">
|
||||
<ul>
|
||||
@@ -156,77 +165,57 @@ doc-subtab: breadcrumb
|
||||
</nav>
|
||||
{% endcapture %}
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<p>The <strong>breadcrumb</strong> component only requires a <code>.breadcrumb</code> container and a <code>ul</code> list.</p>
|
||||
<p>The dividers are automatically created in the content of the <code>::before</code> pseudo-element of <code>li</code> tags.</p>
|
||||
<p>You can inform the current page using the <code>is-active</code> modifier in a <code>li</code> tag. It will disable the navigation of inner links.</p>
|
||||
</div>
|
||||
|
||||
<h1 class="title">Breadcrumb</h1>
|
||||
<h2 class="subtitle">
|
||||
A simple <strong>breadcrumb</strong> component to improve your navigation experience
|
||||
</h2>
|
||||
{%
|
||||
include meta.html
|
||||
since="0.4.3"
|
||||
variables=true
|
||||
colors=false
|
||||
sizes=true
|
||||
%}
|
||||
<hr>
|
||||
{% include snippet.html content=breadcrumb_example horizontal=true clipped=true %}
|
||||
|
||||
<hr>
|
||||
{% include anchor.html name="Alignment" %}
|
||||
|
||||
<div class="content">
|
||||
<p>The <strong>breadcrumb</strong> component only requires a <code>.breadcrumb</code> container and a <code>ul</code> list.</p>
|
||||
<p>The dividers are automatically created in the content of the <code>::before</code> pseudo-element of <code>li</code> tags.</p>
|
||||
<p>You can inform the current page using the <code>is-active</code> modifier in a <code>li</code> tag. It will disable the navigation of inner links.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p>For alternative alignments, use the <code>is-centered</code> and <code>is-right</code> modifiers on the <code>.breadcrumb</code> container.</p>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
{% include snippet.html content=breadcrumb_example horizontal=true clipped=true %}
|
||||
{% include snippet.html content=breadcrumb_centered_example horizontal=true clipped=true %}
|
||||
|
||||
{% include anchor.html name="Alignment" %}
|
||||
{% include snippet.html content=breadcrumb_right_example horizontal=true clipped=true %}
|
||||
|
||||
<div class="content">
|
||||
<p>For alternative alignments, use the <code>is-centered</code> and <code>is-right</code> modifiers on the <code>.breadcrumb</code> container.</p>
|
||||
</div>
|
||||
{% include anchor.html name="Icons" %}
|
||||
|
||||
{% include snippet.html content=breadcrumb_centered_example horizontal=true clipped=true %}
|
||||
<div class="content">
|
||||
<p>You can use any of the <a href="https://fontawesome.com/" target="_blank">Font Awesome</a> <strong>icons</strong>.</p>
|
||||
</div>
|
||||
|
||||
{% include snippet.html content=breadcrumb_right_example horizontal=true clipped=true %}
|
||||
{% include snippet.html content=breadcrumb_icons_example horizontal=true clipped=true %}
|
||||
|
||||
{% include anchor.html name="Icons" %}
|
||||
{% include anchor.html name="Alternative separators" %}
|
||||
|
||||
<div class="content">
|
||||
<p>You can use any of the <a href="https://fontawesome.com/" target="_blank">Font Awesome</a> <strong>icons</strong>.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p>You can choose between <strong>4 additional separators</strong>: <code>has-arrow-separator</code> <code>has-bullet-separator</code> <code>has-dot-separator</code> and <code>has-succeeds-separator</code>.</p>
|
||||
</div>
|
||||
|
||||
{% include snippet.html content=breadcrumb_icons_example horizontal=true clipped=true %}
|
||||
{% include snippet.html content=breadcrumb_arrow_example horizontal=true clipped=true %}
|
||||
|
||||
{% include anchor.html name="Alternative separators" %}
|
||||
{% include snippet.html content=breadcrumb_bullet_example horizontal=true clipped=true %}
|
||||
|
||||
<div class="content">
|
||||
<p>You can choose between <strong>4 additional separators</strong>: <code>has-arrow-separator</code> <code>has-bullet-separator</code> <code>has-dot-separator</code> and <code>has-succeeds-separator</code>.</p>
|
||||
</div>
|
||||
{% include snippet.html content=breadcrumb_dot_example horizontal=true clipped=true %}
|
||||
|
||||
{% include snippet.html content=breadcrumb_arrow_example horizontal=true clipped=true %}
|
||||
{% include snippet.html content=breadcrumb_succeeds_example horizontal=true clipped=true %}
|
||||
|
||||
{% include snippet.html content=breadcrumb_bullet_example horizontal=true clipped=true %}
|
||||
{% include anchor.html name="Sizes" %}
|
||||
|
||||
{% include snippet.html content=breadcrumb_dot_example horizontal=true clipped=true %}
|
||||
<div class="content">
|
||||
<p>You can choose between <strong>3 additional sizes</strong>: <code>is-small</code> <code>is-medium</code> and <code>is-large</code>.</p>
|
||||
</div>
|
||||
|
||||
{% include snippet.html content=breadcrumb_succeeds_example horizontal=true clipped=true %}
|
||||
{% include snippet.html content=breadcrumb_small_example horizontal=true clipped=true %}
|
||||
|
||||
{% include anchor.html name="Sizes" %}
|
||||
{% include snippet.html content=breadcrumb_medium_example horizontal=true clipped=true %}
|
||||
|
||||
<div class="content">
|
||||
<p>You can choose between <strong>3 additional sizes</strong>: <code>is-small</code> <code>is-medium</code> and <code>is-large</code>.</p>
|
||||
</div>
|
||||
{% include snippet.html content=breadcrumb_large_example horizontal=true clipped=true %}
|
||||
|
||||
{% include snippet.html content=breadcrumb_small_example horizontal=true clipped=true %}
|
||||
|
||||
{% include snippet.html content=breadcrumb_medium_example horizontal=true clipped=true %}
|
||||
|
||||
{% include snippet.html content=breadcrumb_large_example horizontal=true clipped=true %}
|
||||
|
||||
{% include variables.html type='component' %}
|
||||
|
||||
</div>
|
||||
</section>
|
||||
{% include variables.html type='component' %}
|
||||
|
||||
Reference in New Issue
Block a user