Skip to main content

Loader

Quick start

Here's a quick start guide to get started with the Loader component

Importing Component

import { Loader } from "@hover-design/react";

Code Snippets and Examples

Loader - Default
<div className="App">
<Loader />
</div>
Loader - Rounded Edges
<div className="App">
<Loader isRoundedDash />
</div>
Loader - Custom Color
<div className="App">
<Loader color="coral" />
</div>
Loader - Custom Thickness
<div className="App">
<Loader thickness={15} />
</div>
Loader - Custom Dash Length
<div className="App">
<Loader dashLength={60} />
</div>
Loader - Custom Sizes
<div className="App">
<Loader size={80} />
</div>

Props Reference

AttributesValuesDefault ValueOptional ?
sizenumber30Yes
thicknessnumbersize / 5Yes
colorstring#408FECYes
dashLengthnumber1/4 CircumferenceYes
isRoundedDashbooleanfalseYes