# List Navigation Component
Navigation list with clickable rows for settings pages, menus, and navigation indexes. Each item is a card with squircle shape and subtle shadow.
## Use Cases
- Settings pages
- Mobile app menus
- Feature indexes
- Dashboard navigation
- Account/profile menus
## Basic Structure
```html
...
Profile
Manage your account settings
...
Notifications
Configure alerts and updates
```
## Classes
- `.list-nav` - Container for navigation items
- `.list-nav.bordered` - Adds border dividers between items
## Item Structure
Items are direct `` or `` children of `.list-nav`. No additional classes needed.
Each item can contain:
1. **``** - Icon on the left (sized to 1.25em)
2. **Text** - Title text
3. **``** - Optional description (muted, smaller text)
## Styling
Each item automatically gets:
- **Squircle shape** - Rounded corners with `corner-shape: squircle`
- **Subtle shadow** - `var(--shadow-1)` for elevated card appearance
- **Background** - Uses `var(--bg)` for proper theming
- **Gap** - `var(--pad-m)` spacing between items
## Examples
### Settings Menu
```html
Profile
Manage your account settings
Notifications
Configure alerts and updates
Security
Password and two-factor authentication
```
### Bordered Variant
```html
...
Dashboard
...
Analytics
...
Reports
```
### With Button Elements
```html
...
Open Settings
Configure your preferences
```
### Disabled State
```html
...
Advanced Settings
Coming soon
```
### Title Only (No Description)
```html
...
Dashboard
```
## States
- **Default**: Card with squircle shape and subtle shadow
- **Hover**: Background highlight, icon brightens
- **Focus**: 2px solid outline (inset)
- **Active**: Slightly darker background
- **Disabled**: 50% opacity, no pointer events
## Differences from Sidebar Nav
| Feature | List Nav | Sidebar Nav |
|---------|----------|-------------|
| Item style | Individual cards with shadow | Flat items in a list |
| Description | Supported via `` | Not supported |
| Use case | Standalone navigation rows | Sticky sidebar menus |
| Nesting | Not supported | Supports details/summary |
| Visual weight | Higher (cards with shadow) | Lower (compact) |
## Accessibility
- Use semantic `` container
- Use `` for navigation links, `` for actions
- Disabled buttons use `disabled` attribute
- Links can use `aria-disabled="true"` when needed
- Focus states are clearly visible