phantom-library v1.0.0
Phantom Library
React Components, Hooks, Utilities, and Design Systems
The Phantom Library for React is a versatile and powerful package designed to streamline your workflow for any sort of web development project by providing a collection of cohesive, modular React components. Each component is built with flexibility in mind, allowing for easy customization using React props and modern CSS styling practices. Whether you're building a complex application or a simple interface, Phantom enables you to maintain consistency and efficiency across your projects by leveraging a well-structured design system.
Installation
To setup and use phantom-library
in any React project just follow three simple steps:
- Install the library:
npm install phantom-library
- Then, add a
<StyledApp>
component in the root of your component hierarchy. The StyledApp maintains the React contexts for responsive functionality as well as theming. - In your index or main file for the website, import the CSS styling from the library with
import 'phantom-library/styles'
at the very top above any other components or stylesheets.
All done!
Overview
Components
Responsive Design
Through the use of CSS variables and React contexts which span the entire app, it is simple and easy to develop a consistent design style for your websites. Phantom also includes integration with SASS for easily utilizing design tokens for attributes such as colors and sizes.
5 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago