Skip to content

Float Button

Terminal window
npx skeci-ui add float-button
import { FloatButton } from '@/components/ui/float-button';
import { Plus } from 'lucide-react';
<FloatButton icon={<Plus />} />

Variants

Borders

Sizes

PropTypeDefaultDescription
iconReactNode(required)The icon to display inside the button.
labelstringOptional text label for an extended FAB.
variant'filled' | 'outline''filled'The visual style of the button.
size'sm' | 'md' | 'lg''md'The size of the button.
rounded'none' | 'sm' | 'md' | 'lg' | 'full''full'The border radius of the button.
border'normal' | 'rough' | 'hachure''rough'The sketchiness style of the border.