# daisyUI Documentation - Dock Component dock (also know as Bottom navigation or Bottom bar) is a UI element that provides navigation options to the user. Dock sticks to the bottom of the screen. ## Classes and Usage ### Core Classes: - **dock** - The main dock component - **dock-label** - Text label for Dock Item - **dock-active** - Makes the Dock Item look active - **dock-xs** - Extra Small Dock - **dock-sm** - Small Dock - **dock-md** - Medium Dock [Default] - **dock-lg** - Large Dock - **dock-xl** - Extra Large Dock ## Examples ### Basic Dock ```html
``` ### Dock with Different Sizes ```html
``` ## Features - Bottom navigation or bottom bar UI element - Sticks to the bottom of the screen - Responsive design with different size options - Active state indicator for current selection - SVG icons support - Requires viewport meta tag for iOS responsiveness This component is particularly useful for mobile applications where you need persistent navigation at the bottom of the screen.