Enterprise-level component library based on Bootstrap and Blazor

star nuget master download license repo commit

Spinner 旋转图标

加载数据时显示动效

何时使用
页面局部处于等待异步数据或正在渲染过程时,合适的加载动效会有效缓解用户的焦虑。

基础用法

默认旋转图标

Demo
Loading...

Spinner 带有颜色的旋转图标

提供基本颜色的旋转图标

Demo
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Growing Spinner 旋转图标

生长式旋转图标

Demo
Loading...

Growing Spinner 带有颜色的旋转图标

提供基本颜色的旋转图标

Demo
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Spinner 旋转图标大小

图标样式大小

Demo
Loading...
Loading...

Spinner Flex

自定义布局

Demo
Loading...

Spinner Flex

带有文字的自定义布局

Demo
Loading...
Loading...

Spinner Floats

使用 Float 布局

Demo
Loading...

Attributes

Loading...
@page "/spinners"

<h3>Spinner 旋转图标</h3>

<h4>加载数据时显示动效</h4>

<p>
    <b>何时使用</b>
    <br />
    页面局部处于等待异步数据或正在渲染过程时,合适的加载动效会有效缓解用户的焦虑。
</p>

<Block Title="基础用法" Introduction="默认旋转图标">
    <Spinner></Spinner>
</Block>

<Block Title="Spinner 带有颜色的旋转图标" Introduction="提供基本颜色的旋转图标">
    <div class="row">
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner Color="Color.Primary"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner Color="Color.Secondary"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner Color="Color.Success"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner Color="Color.Danger"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner Color="Color.Warning"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner Color="Color.Info"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner Color="Color.Light"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner Color="Color.Dark"></Spinner></div>
    </div>
</Block>

<Block Title="Growing Spinner 旋转图标" Introduction="生长式旋转图标">
    <Spinner SpinnerType="SpinnerType.Grow"></Spinner>
</Block>

<Block Title="Growing Spinner 带有颜色的旋转图标" Introduction="提供基本颜色的旋转图标">
    <div class="row">
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner SpinnerType="SpinnerType.Grow" Color="Color.Primary"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner SpinnerType="SpinnerType.Grow" Color="Color.Secondary"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner SpinnerType="SpinnerType.Grow" Color="Color.Success"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner SpinnerType="SpinnerType.Grow" Color="Color.Danger"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner SpinnerType="SpinnerType.Grow" Color="Color.Warning"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner SpinnerType="SpinnerType.Grow" Color="Color.Info"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner SpinnerType="SpinnerType.Grow" Color="Color.Light"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner SpinnerType="SpinnerType.Grow" Color="Color.Dark"></Spinner></div>
    </div>
</Block>

<Block Title="Spinner 旋转图标大小" Introduction="图标样式大小">
    <div class="row">
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner Size="Size.Small"></Spinner></div>
        <div class="form-group col-6 col-sm-4 col-md-3 col-lg-auto"><Spinner Size="Size.Small" SpinnerType="SpinnerType.Grow"></Spinner></div>
    </div>
</Block>

<Block Title="Spinner Flex" Introduction="自定义布局">
    <div class="d-flex justify-content-center">
        <Spinner></Spinner>
    </div>
</Block>

<Block Title="Spinner Flex" Introduction="带有文字的自定义布局">
    <div class="d-flex align-items-center">
        <strong>Loading...</strong>
        <Spinner Class="ml-auto"></Spinner>
    </div>
</Block>

<Block Title="Spinner Floats" Introduction="使用 Float 布局">
    <Spinner Class="float-right"></Spinner>
</Block>

<AttributeTable Items="@GetAttributes()" />
根据相关法律政策,该内容无法显示

B 站相关视频链接

暂无

交流群

QQ群:BootstrapAdmin & Blazor 795206915(满) 675147445 欢迎加群讨论
Themes
Bootstrap
Ant Design (完善中)
Bluma (完善中)
LayUI (完善中)
An error has occurred. This application may no longer respond until reloaded. Reload