yarn add @uxui/skeleton-loader
// or
npm install --save @uxui/skeleton-loaderimport { Skeleton } from '@uxui/skeleton-loader';
class Example extends React.Component {
render() {
return <Skeleton />;
}
}By default, styled-components was used to do styling and responsiveness but if you wish to have a emotion version, then, you have it:
import { Skeleton } from '@uxui/skeleton-loader/emotion';Examples of usage can be found here.
Document can be found here.
MIT © zlatanpham