A lightweight, accessible and responsive react component library for your next project.
A lightweight, accessible and responsive react component library for your next project.
npm install swiftlyui
yarn add swiftlyui
index.css
Needs to be imported in your project for swiftlyUI's styles to be applied to each of the components. index.css
needs to be imported once in the project, it is recommended that swiftlyui/index.css
is imported at the base of your project.
import React from 'react';
import { Button } from 'swiftlyui'
import 'swiftlyui/index.css'
function App(){
return (
<Button
className="swiftlyButton"
buttonColor="#fff"
contentColor="#123"
onClick={() => console.log('clicked')}
>
Click me!
</Button>)
}
We use storybook for local docs!
yarn storybook
Future plans for the library are to fill Swiftly-UI with more accessible components that help developers build out their projects more quickly
This project is licensed under the terms of the MIT License