0.5.3 • Published 7 months ago
reactoms v0.5.3
Welcome to Reactoms !
A React Components Library made with TypeScript, Sass, Vite & Atomic Design : Card, Collapse, Icon, Image, Link, List for Atoms & Button, Footer, Gallery, Navbar, Slider, Title for Molecules
Installation
Type this command inside your terminal at the root of your project :npm i reactoms
Usage
If you change the components code, you need to compile them :
npm run build
Then use the compiles files of the dist folder for your prod UI like this (choose the components you want) :
- inside your pages :
import { Button, Card, Collapse, Footer, Gallery, Icon, Image, Link, List, Navbar, Slider, Title } from 'reactoms'
for the components - inside your index.html :
<style rel="stylesheet" href="node_modules/@fortawesome/fontawesome-free/css/all.min.css"></style>
for the icons - inside your index.html again :
<style rel="stylesheet" href="node_modules/reactoms/dist/style.css"></style>
for the style
Content
Assets :
- Style => imports variables & mixins + common styles
- Style Variables => breakpoints, fonts, colors, transforms
- Style Mixins => font-face & keyframes
Atoms :
- Card => figure -> (figcaption)
- Collapse => details -> summary + figure
- Icon => i
- Image => img
- Link => a
- List => ul -> li
Molecules :
- Button => Link -> Icon + (b)
- Footer => footer -> List -> Button
- Gallery => List -> Link -> (Card -> Image + Title + List -> Icon)
- Navbar => nav -> Button + (List -> Button) + Button
- Slider => figure -> (nav -> Icon) + progress
- Title => hgroup -> (p -> Icon) + h1 | h2 | h3 | h4 + (p)
Documentation
0.4.10
8 months ago
0.4.9
8 months ago
0.4.8
8 months ago
0.4.5
8 months ago
0.5.3
7 months ago
0.4.7
8 months ago
0.4.6
8 months ago
0.5.0
7 months ago
0.5.2
7 months ago
0.5.1
7 months ago
0.4.4
9 months ago
0.4.3
10 months ago
0.4.2
10 months ago
0.4.1
10 months ago
0.4.0
10 months ago
0.3.2
10 months ago
0.3.1
10 months ago
0.3.0
10 months ago
0.2.0
10 months ago
0.1.2
10 months ago