Home
Docs
Themes
InfinityFX
©Copyright2016-2026 InfinityFX. All rights reserved.
InfinityFX®
Fluid UI
v2.1.3
Getting started
Installation
Configuration
Theming
Components
Display
ActionMenu
Combobox
Annotation
Badge
Code
Empty
Gradient
Key
Swatch
Table
Ticker
Timeline
Toast
Tooltip
Feedback
CircularProgress
Indicator
Interactable
ProgressBar
Skeleton
Spinner
Input
Autocomplete
Button
Calendar
Checkbox
Chip
ColorField
ColorPicker
DateField
Dial
DropZone
Field
FileField
Hamburger
NumberField
PasswordField
Pincode
Radio
Segmented
Select
Slider
Switch
Textarea
ThemeToggle
TimeField
Toggle
Layout
Accordion
Card
Popover
Sidebar
Collapsible
Cull
Divider
Drawer
Group
Modal
Overlay
Panel
Scrollarea
Navigation
NavigationMenu
Pagination
Stepper
Tabs
Hooks
useFluid
Links
Changelog
Create Fluid App
Skills
llms.txt

Sidebar

A collapsible sidebar.

Importing

1
import { SidebarHeading, SidebarItem, SidebarRoot, SidebarToggle, SidebarUser } from '@infinityfx/fluid';

Usage

Tree navigation

API reference

SidebarRoot Props

collapsed?
boolean
Whether the sidebar is collapsed.
setCollapsed?
(value: boolean) => void
Callback function triggered when the collapsed state changes.

SidebarToggle Props

toggle?
'square' | 'round' | 'none'
'square'
The visual style of the toggle button.

SidebarItem Props

label?
string
The text label displayed on the item.
icon?
React.ReactNode
An optional icon displayed on the left.
right?
React.ReactNode
Custom element shown on the right side of the label when there are no child items.
size?
'sml' | 'med'
'med'
active?
boolean
false
Marks the item as currently selected.
variant?
'default' | 'inverted'
'default'
round?
boolean
false
compact?
boolean
false
Renders a smaller, compact variant of the item.
defaultOpen?
boolean
false
Whether the nested child items are expanded by default.

SidebarUser Props

name?
string
The name of the user.
status?
string
An optional status message shown below the user name.
indicator?
string | number | boolean
false
Visual status indicator badge content shown over the avatar.
round?
boolean
false
Makes the user avatar round.
icon?
React.ReactNode
Action icon shown on the right (defaults to a "more options" icon).
My account
Home
Settings
General
Security
Payment
Orders
Cars
Audio
BMW
Mercedes
Rockets
Saturn V
Spaceshuttle
SLS
SpaceX
Falcon 9
Falcon Heavy
Starship