1.0.30 • Published 5 years ago

@samuelbeard/react-components v1.0.30

Weekly downloads
46
License
ISC
Repository
github
Last release
5 years ago

React Components

A React Component Library

A simple component library for my projects.


Setup

Install the package

npm install @samuelbeard/react-components

Import the package

import { Container, Row, Col } from '@samuelbeard/react-components'

Import the scss into your own scss

@import '~@samuelbeard/react-components/dist/scss/base.scss';

Styling

Colours are organised by their color names. (red, blue, etc)


Components

✅ - Done ❎ - Not Needed ❌ - Not Done

ComponentclassNamebackgroundcolorsize...propsPropTypesdefaultPropsstories...style
Button
Card
CardBody
CardFooter
CardHeader
Countdown
Form
Field
Col
Container
Row
Nav
NavMenu
NavTitle
Section
FadeIn

Improvements

  • Add documentation for css utility classes.

## Utility Classes

Super Center

Center items inside a container vertically and horizontally.

className="super-center"

Test Align

Align text to left, center or right.

className="text-left"
className="text-center"
className="text-right"
1.0.30

5 years ago

1.0.29

6 years ago

1.0.28

6 years ago

1.0.27

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago