Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Tabler Bundle Laravel Package

kevinpapst/tabler-bundle

View on GitHub
Deep Wiki
Context7

Embeds

This theme ships some embeds that hide the complexity of rendering the same elements over and over again with the correct HTML.

Card vertical navigation

Card vertical navigation has been implemented to use the Tabler Card vertical navigation extra card.

Parameters

Card vertical navigation embed, can be used with 1 parameter:

Parameter Description Type Default
items Array of Item array []

Item

Note: If href parameter is not specified, Boostrap tab navigation will be used to navigate trough elements. If href is specified, click on menu item will simply redirect to the URL.

Parameter Description Type Default
id Id of item (used for bootstrap tab) string uniqueId()
name Name of the item string empty string
header Is item of type Header boolean false
raw Render item name as RAW HTML boolean false
content Content of the item string empty string
active Set the item as currently active boolean false
href Href of the a link in the menu string #tabs- + uniqueId()

Content

Card vertical navigation embed, has 1 common block:

Block Description
content Will replace the content autocomplete from Items -> content

See twig file for more blocks, which allow customization of HTML tags, CSS classes and more.

Usage

Full boostrap tabs navigation

All content tab must be rendered

{% set items = [
    {
        name: 'Account',
        content: '<h1>My Account</h1><h3>Profile Details</h3>'
    },
    {
        name: 'Notifications',
        content: include('notifications.html.twig')
    },
    {
        name: 'Experience',
        header: true
    },
    {
        name: 'Feedback',
        content: '<h1>Give Feedback</h1>'
    },
    {
        name: 'Automates',
        header: true
    },
    {
        id: 'auto',
        name: tabler_icon('robot') ~ " " ~ 'label.variable.automated.plural'|trans|capitalize,
        raw: true,
        content : _self.automate_content(mentions, automated_values)
    }
] %}

{% embed '[@Tabler](https://github.com/Tabler)/embeds/card_vertical_navigation.html.twig' with {items : items} %}{% endembed %}

card nav

Href single content navigation

Only one tab content is completed, rest is only for navigation between urls

{% set items = [
    {
        name: 'Account',
        href: '/account'
    },
    {
        name: 'Notifications',
        href: '/notifications',
        active: true,
    },
    {
        name: 'Experience',
        header: true
    },
    {
        name: 'Feedback',
    },
] %}

{% embed '[@Tabler](https://github.com/Tabler)/embeds/card_vertical_navigation.html.twig' with {items : items} %}
    {% block content %}
        <h1>Notifications</h1>

        <p>Here's my content manually inserted!</p>
    {% endblock %}
{% endembed %}

image

Only nav card part (with empty content)

{% set items = [
    {
        name: 'Account',
        href: '/account'
    },
    {
        name: 'Notifications',
        href: '/notifications',
        active: true,
    },
    {
        name: 'Experience',
        header: true
    },
    {
        name: 'Feedback',
    },
] %}



<div class="row">
    <div class="col-3">
        {% embed '[@Tabler](https://github.com/Tabler)/embeds/card_vertical_navigation.html.twig' with {items : items} %}
            {% block nav_size %}col{% endblock %}
            {% block nav_border %}{% endblock %}
            {% block content_display %}d-none{% endblock %}
            {% block content %}{% endblock %}
        {% endembed %}
    </div>
</div>

image

Next steps

Please go back to the Tabler bundle documentation to find out more about using the theme.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
yandex/translate-api
voku/simple_html_dom
league/flysystem-vfs
bkwld/upchuck
filament/spatie-laravel-tags-plugin
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php