Home
Docs
Themes
InfinityFX
©Copyright2016-2026 InfinityFX. All rights reserved.
InfinityFX®
Fluid UI
v2.1.0
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

Button

A button.

Importing

1
import { Button } from '@infinityfx/fluid';

Usage

With icon

As a link

API reference

Button Props

round?
boolean
false
compact?
boolean
false
Reduces block and inline padding for a smaller button footprint.
size?
'xsm' | 'sml' | 'med' | 'lrg'
'med'
variant?
'default' | 'neutral' | 'inverted' | 'muted' | 'minimal'
'default'
color?
string
Custom background color override.
loading?
boolean
false
Shows a loading spinner instead of the button contents.
disabled?
boolean
false
hasIcon?
'auto' | 'start' | 'end' | 'only'
'auto'
Manually indicate whether this button has an icon to adjust it's padding. Only needed when automatic icons detection isn't possible.
color
size
variant
default
round
compact
loading
disabled
My link