# TallStackUI: Layout Sidebar > TallStackUI is a TALL Stack (Tailwind CSS, Alpine.js, Laravel, Livewire) > component library providing 80+ Blade components for building modern web interfaces. A responsive sidebar navigation component with mobile slide-out drawer and desktop fixed panel. Supports collapsible mode, custom branding, scroll styling, Livewire navigation, and a footer slot. The mobile drawer locks the page scroll while it is open and closes on Escape, unless a floating element on top of it owns the key. ## Basic Usage ```blade
Logo My App
``` ```blade

v3.0

``` ## Attributes | Attribute | Type | Default | Description | |-----------------|--------------------|---------|--------------------------------------------------------------------| | brand | slot\|string\|null | null | Branding content displayed at the top of the sidebar | | brand-collapsed | slot\|string\|null | null | Alternate branding shown when the collapsible sidebar is collapsed | | footer | slot\|string\|null | null | Content rendered at the bottom of the sidebar | | smart | bool\|null | false | Enables smart route matching for all child items | | navigate | bool\|null | false | Adds `wire:navigate` to all child item links | | navigate-hover | bool\|null | false | Adds `wire:navigate.hover` to all child item links | | thin-scroll | bool\|null | false | Applies thin soft scrollbar styling to the sidebar items area | | thick-scroll | bool\|null | false | Applies thick custom scrollbar styling to the sidebar items area | | collapsible | bool\|null | false | Enables sidebar collapse/expand toggling from the header | Every default above except the slots comes from the global configuration, so the `Default` column describes the shipped configuration rather than a value hardcoded in the component. ## Global Configuration ```php // config/tallstackui.php 'side-bar' => [ \TallStackUi\Components\Layout\SideBar\Main\Component::class, [ 'smart' => false, 'collapsible' => false, 'thin-scroll' => false, 'thick-scroll' => false, 'navigate' => false, 'navigate-hover' => false, ], ], ``` The inline prop always wins, including the negative form: with `'collapsible' => true` configured, `:collapsible="false"` pins a single sidebar open. `navigate`/`navigate-hover` and `thin-scroll`/`thick-scroll` are mutually exclusive pairs, so declaring either side of a pair inline suppresses the configured default of both sides of that pair. ## Slots | Slot | Description | |-----------------|-----------------------------------------------------------------------------| | (default) | Sidebar navigation items (`` and ``) | | brand | Logo or branding content at the top | | brand-collapsed | Compact branding shown when sidebar is collapsed (requires `collapsible`) | | footer | Footer content pinned to the bottom of the sidebar | ## Soft Customization Soft customization allows you to override default Tailwind CSS classes used by this component at runtime, either through a service provider or scoped per-instance. ### Customization ```php TallStackUi::customize() ->sideBar() ->block('mobile.wrapper.first', 'your-tailwind-classes'); ``` ### Available Blocks | Block Name | Purpose | |------------------------------|---------------------------------------------------------| | mobile.wrapper.first | Mobile sidebar root container | | mobile.wrapper.second | Mobile fixed inset flex container | | mobile.wrapper.third | Mobile sidebar inner panel wrapper | | mobile.wrapper.fourth | Mobile sidebar background and flex column | | mobile.wrapper.fifth | Mobile sidebar content height and flex layout | | mobile.wrapper.sixth | Mobile sidebar items list flex layout | | mobile.wrapper.brand.margin | Top margin applied when no brand is provided (mobile) | | mobile.wrapper.items | Mobile scrollable items container | | mobile.backdrop | Semi-transparent overlay behind the mobile sidebar | | mobile.button.wrapper | Mobile close button positioning | | mobile.button.size | Mobile close icon dimensions and color | | mobile.button.icon | Icon name for the mobile close button (default: x-mark) | | mobile.footer | Mobile footer border and padding | | desktop.wrapper.first.base | Desktop sidebar fixed positioning and flex layout | | desktop.wrapper.first.size | Desktop sidebar width | | desktop.wrapper.second | Desktop sidebar inner panel with border and background | | desktop.wrapper.third | Desktop brand area height and alignment | | desktop.wrapper.brand.margin | Top margin applied when no brand is provided (desktop) | | desktop.wrapper.fourth | Desktop content height and flex layout | | desktop.wrapper.fifth | Desktop items list flex layout | | desktop.wrapper.items | Desktop scrollable items container | | desktop.sizes.expanded | Width when the collapsible sidebar is expanded | | desktop.sizes.collapsed | Width when the collapsible sidebar is collapsed | | desktop.footer | Desktop footer border and padding |