creativetimofficial / argon-dashboard

Argon - Dashboard for Bootstrap 5 by Creative Tim
https://www.creative-tim.com/product/argon-dashboard
MIT License
674 stars 1.26k forks source link

sidebar component with subitem #4

Closed Phathdt closed 5 years ago

Phathdt commented 6 years ago

do we have example sidebar component with subitem can toggle active ?

amousavii commented 6 years ago

You can use this code

              <a class="nav-link" href="#homesubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
                    <i class="ni ni-planet text-blue"></i> Icons </a>
                    <ul class="collapse list-unstyled" id="homesubmenu" >
                        <li class="nav-item">
                            <a  class="nav-link" href="#">
                                <i class="ni ni-planet text-blue"></i> Icons </a>
                            </a>
                        </li>
                    </ul>

Change the icons as desired,

schirrel commented 6 years ago

I'm adding apull request with a propose to add a feature like style tomultilevel the code pen https://codepen.io/CoderSquirrel/pen/qJMPqM

rarestoma commented 5 years ago

Hello,

Thank you for your interest in our products and sorry for the late respone.

We provide a multi level menu in our pro version(https://demos.creative-tim.com/argon-dashboard-pro/pages/tables/datatables.html) in components -> multi level.

Hope it helps.

All the best, Rares