For AI agents: the complete documentation index is available at https://rickyshin93.github.io/tao-ui/llms.txt, the full documentation bundle is available at https://rickyshin93.github.io/tao-ui/llms-full.txt, and this page is available as Markdown at https://rickyshin93.github.io/tao-ui/components/float-button.md.
v0.0.57
  • English
  • FloatButton

    General@rockshin/tao-ui

    Provides persistent floating actions and a return-to-top control.

    This native tao-ui component follows the public API of Ant Design 6.7.0. Appearance, theme tokens and Semantic DOM customization belong to tao-ui; configure themes with TaoProvider.

    Buttons, Group and BackTop follow 6.7.0. Tooltips and badges use tao-ui components; scroll animations respect reduced motion. Fixed controls are isolated in iframe previews.

    When to use

    Use for a few actions that apply across the current screen. Provide accessible labels for icon-only buttons.

    Examples

    Basic action and tooltip

    390 × 640
    TSX

    Shape, content and badge

    390 × 640
    TSX

    Click group and placement

    390 × 640
    TSX

    Controlled group

    390 × 640
    TSX

    Hover and disabled actions

    390 × 640
    TSX

    Return to a scroll container top

    390 × 640
    TSX

    API

    FloatButton

    PropertyDescriptionTypeDefault Value
    classNameAdditional css classstring | undefined-
    styleAdditional styleCSSProperties | undefined-
    disabledWhether to disableboolean | undefined-