SaraVieira / Styled Loaders
Licence: other
Loaders Built with Preact and Styled Components
Stars: โญ 212
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Styled Loaders
mediocre-pictures
Helping you take mediocre pictures, hands-free. ๐ท๐๐ป๐
๐พ๐๐ผ๐ธ
Stars: โญ 16 (-92.45%)
Mutual labels: preact, styled-components
Styled Breakpoints
Simple and powerful tool for creating breakpoints in styled components and emotion. ๐
Stars: โญ 428 (+101.89%)
Mutual labels: styled-components, preact
Design System Utils
๐ฉโ๐จ Access your design tokens with ease
Stars: โญ 465 (+119.34%)
Mutual labels: styled-components, preact
React Ssr Starter
All have been introduced React environment
Stars: โญ 20 (-90.57%)
Mutual labels: styled-components, preact
Goober
๐ฅ goober, a less than 1KB ๐ css-in-js alternative with a familiar API
Stars: โญ 2,317 (+992.92%)
Mutual labels: styled-components, preact
desvg
๐
Converts SVG files into components ๐
Stars: โญ 79 (-62.74%)
Mutual labels: preact, styled-components
Styled Components Website
The styled-components website and documentation
Stars: โญ 513 (+141.98%)
Mutual labels: styled-components, preact
Nyancss
๐ Write plain CSS while reaping benefits of CSS-in-JS
Stars: โญ 544 (+156.6%)
Mutual labels: styled-components, preact
Scoped Style
A tiny css in js library ๐
Stars: โญ 129 (-39.15%)
Mutual labels: styled-components, preact
Filbert Js
A lightweight(~1kb) css-in-js framework
Stars: โญ 167 (-21.23%)
Mutual labels: styled-components, preact
Lerna Yarn Workspaces Monorepo
๐ A Monorepo with multiple packages and a shared build, test, and release process.
Stars: โญ 201 (-5.19%)
Mutual labels: styled-components
Bolt
The Bolt Design System provides robust Twig and Web Component-powered UI components, reusable visual styles, and powerful tooling to help developers, designers, and content authors build, maintain, and scale best of class digital experiences.
Stars: โญ 186 (-12.26%)
Mutual labels: preact
Zero To Preact
A Step-by-step Guide to Preact + Webpack 2, without boilerplate!
Stars: โญ 185 (-12.74%)
Mutual labels: preact
Preact Devtools
Browser extension for inspection Preact applications
Stars: โญ 204 (-3.77%)
Mutual labels: preact
Preact Redux Example
๐ Preact + Redux Example Project
Stars: โญ 199 (-6.13%)
Mutual labels: preact
Styled Theme
Extensible theming system for styled-components ๐
Stars: โญ 183 (-13.68%)
Mutual labels: styled-components
Vaporboy
Gameboy / Gameboy Color Emulator PWA built with Preact. โ๏ธ Powered by wasmBoy. ๐ฎThemed with VaporWave. ๐ด๐ฌ
Stars: โญ 182 (-14.15%)
Mutual labels: preact
Styled Loaders
Demo
NPM
Loaders Built with Preact and Styled Components ready for your next project because no one deserves to have to writes loadings all the time.
If you are looking for a React version you can find one here by the awesome Sai Sandeep Vaddi
Credits and inspiration also belong heavily to the awesome work at SpinKit
As I work on more projects over time more, more loaders will be added here.
Usage
npm i styled-loaders
or
yarn add styled-loaders
import { h } from 'preact'
import { Cube } from 'styled-loaders'
const Page = ({ loading }) =>
<main>
{ loading ?
<Cube/>
: 'Your Content'
}
</main>
With Props
import { h } from 'preact'
import { Block } from 'styled-loaders'
const Page = ({ loading }) =>
<main>
{ loading ?
<Block color="red" size="60px" duration="5s" />
: 'Your Content'
}
</main>
Loaders
-
- Props
- color - Background of the spinner default is #333
- duration - Animation duration default is 1.2s
- size - Size of the spinner default is 40px
- Props
-
- Props
- color - Background of the spinner default is #333
- size - Size of the spinner default is 40px
- Props
-
- Props
- color - Background of the spinner default is #333
- size - Size of the spinner default is 40px
- cubeSize - Size of the each cube default is 15
- duration - Animation duration default is 1.2s
- Props
-
- Props
- color - Background of the spinner default is #333
- size - Size of the spinner default is 40px
- Props
-
- Props
- color - Background of the spinner default is #333
- duration - Animation duration default is 1.2s
- size - Size of the spinner default is 40px
- dotSize - Size of the dots default is 18px
- Props
-
- Props
- color - Background of the spinner default is #333
- duration - Animation duration default is 1.2s
- size - Size of the spinner default is 40px
- Props
-
- Props
- color - Background of the spinner default is #333
- duration - Animation duration default is 1.2s
- size - Size of the spinner default is 40px
- Props
-
- Props
- color - Background of the spinner default is #333
- duration - Animation duration default is 1.2s
- size - Size of the spinner default is 40px
- Props
-
- Props
- color - Background of the spinner default is #333
- duration - Animation duration default is 1.2s
- size - Size of the spinner default is 40px
- rectWidth - Width of each rectangle default is 6px
- Props
License
MIT (2017 - Sara Vieira)
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].