Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: LoadingBar Component #144

Open
Vehmloewff opened this issue Sep 10, 2019 · 0 comments
Open

Request: LoadingBar Component #144

Vehmloewff opened this issue Sep 10, 2019 · 0 comments
Labels
component request Request for a new component

Comments

@Vehmloewff
Copy link
Member

This would be a group of svg based loading bars.

The usage would probably look like this:

<LoadingBar
	value={50}
	preset="line"

	backgroundWidth={10}
	backgroundCorners={0}
	foregroundWidth={20}
	foregroundCorners={0}
	backgroundColor="var(--loading-bar-background)"
	foregroundColor="var(--loading-bar-foreground)"

	showLabel={true}
	showUnits={true}
	units="%"
	labelColor="var(--loading-bar-label)"
	unitsColor="var(--loading-bar-units)"

	borderWidth={20}
	borderColor="var(--loading-bar-border)"
/>
<!-- preset values: `line`, `circle`, `fan`, `bubble` -->
@Vehmloewff Vehmloewff added the component request Request for a new component label Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component request Request for a new component
Projects
None yet
Development

No branches or pull requests

1 participant