Phenix Design System: A Lightweight Front-End Framework for Responsive Web Apps
Start building responsive, mobile-first web applications with Phenix Design System (Phenix DS). Similar to popular frameworks like Bootstrap and Material CSS, Phenix DS offers a lightweight user-interface framework designed for simplicity, fast execution, and optimal performance. Initially developed for personal use, Phenix DS has now been published as an open-source project for the benefit of the web community.
Where to Start
To get started with Phenix DS and understand its design patterns, it’s essential to familiarize yourself with the utility class names for spacing, sizing, colors, and backgrounds. These utility classes allow you to customize and modify any component used in the documentation examples and builds.
the next piece of code will load Phenix D.S Stylesheet “LTR” version from npm CDN Links you can copy it and place it into your document
<!-- Phenix CSS LTR --> <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/phenix.css" rel="stylesheet" />
Right-to-Left (RTL) Version
if your document language is right-to-left you can use Phenix D.S Stylesheet “RTL” version from npm CDN Links you can copy it and place it into your document
<!-- Phenix CSS RTL --> <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/phenix-rtl.css" rel="stylesheet" />
<!-- Phenix JS --> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/phenix.js"></script>
when you put the CSS, and JS together your document code should look like the one below it is the most basic structure for a Responsive & SEO Friendly WebApp.
<!DOCTYPE html> <html lang="en" dir="ltr"> <head> <!-- Essential Meta Tags --> <meta name="language" content="en"> <meta http-equiv="x-ua-compatible" content="text/html" charset="utf-8"> <meta name="robots" content="index, follow" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta name="description" content="The Description of This Page Goes Right Here and its !Important" /> <meta name="keywords" content="keywords,goes,here,for,this,web,site,its,!important,and,keep,it,dynamic" /> <meta name="copyright" content="the app copyrights goes here"> <!-- Title and Favicon --> <title>Phenix Design System v1 [Tornado UI v3]</title> <link rel="shortcut icon" type="image/png" href="img/fevicon.png"> <!-- Required CSS Files --> <link href="https://unpkg.com/[email protected]/dist/css/phenix.css" rel="stylesheet" /> </head> <body> <!-- Your Code Start from Here --> <!-- Required JS Files --> <script src="https://firstname.lastname@example.org/dist/js/phenix.js"></script> </body> </html>
you can download Phenix directly as source code or compiled files to use it or include it with your favorite package managers like npm, RubyGems, etc,
Phenix is available through NPM [node package manager] you will need Node.js to install and import phenix into your project with CLI npm install Phenix-UI then you can import [ TypeScript, SASS ] Modules,
after installing Phenix-UI from npm you can import sass modules into your project sass with
@import './node_modules/phenix-sass/*' which will import the “*name” module into your project, for more information about SASS modules click here also,
you can import and use the TypeScript modules into your project typescript by
import Phenix from './node_modules/phenix-ts' which will import Phenix plugins for you to use in your project,
<script type="module"> import Phenix from "./node_modules/phenix-js" || "CDN URL"; </script>