Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

primeflex

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

primeflex

PrimeFlex is a lightweight responsive CSS utility library to accompany Prime UI libraries and static webpages as well.

  • 3.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is primeflex?

PrimeFlex is a lightweight, responsive CSS utility library that provides a variety of classes to help with layout, spacing, alignment, and more. It is designed to be used with PrimeReact, but it can be used independently as well.

What are primeflex's main functionalities?

Grid System

PrimeFlex provides a responsive grid system that allows you to create complex layouts with ease. The grid system is based on a 12-column layout, and you can specify the number of columns each element should span.

<div class="p-grid">
  <div class="p-col-6">Column 1</div>
  <div class="p-col-6">Column 2</div>
</div>

Flexbox Utilities

PrimeFlex includes a variety of flexbox utilities to help with alignment and spacing. These utilities make it easy to center content, align items, and distribute space within a container.

<div class="p-d-flex p-jc-center p-ai-center">
  <div>Centered Content</div>
</div>

Spacing Utilities

PrimeFlex provides a set of spacing utilities to control margin and padding. These utilities allow you to quickly add or remove space around elements without writing custom CSS.

<div class="p-m-4 p-p-4">
  <div>Content with margin and padding</div>
</div>

Responsive Design

PrimeFlex includes responsive design utilities that allow you to create layouts that adapt to different screen sizes. You can specify different column spans for different breakpoints, making it easy to create responsive designs.

<div class="p-grid">
  <div class="p-col-12 p-md-6 p-lg-4">Responsive Column</div>
</div>

Other packages similar to primeflex

Keywords

FAQs

Package last updated on 29 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc