Socket
Socket
Sign inDemoInstall

@avsync.live/formation

Package Overview
Dependencies
Maintainers
1
Versions
406
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avsync.live/formation

A comprehensive React component library based on Styled Components


Version published
Weekly downloads
47
decreased by-52.04%
Maintainers
1
Weekly downloads
 
Created
Source

Formation

Note: This library is still actively in development and should not be used for production projections yet.

Formation is a comprehensive React component library based on Styled Components and CSS variables.

View Source on GitHub

View Package on NPM

Click on the image below to view Formation's Storybook. Learn more about Storybook.

image

Installation

yarn add @avsync.live/formation

Philosophy

The name “Formation” expresses both the form embodied by the user interface, and the process by which user interaction forms the desired outcome of the application. The layout of the document is also composed of a formation of components.

Formation adheres to the concept of Unimpeded Design, where users never have to wait for animations to complete, or for the application to finishing changing modes in order to proceed with their task.

Animations should be minimized or avoided, as they can degrade performance and make interactions feel less responsive.

Right clicking is avoided because on touch and controler inputs a secondary interaction like "tap and hold" is required that slows down the user's completion of their inteded task.

Interface elements must also never rely on hover states to function, as not all devices support hovering. Basic functionality should not be obscured behind device-specific capabilities.

If different application modes are required, unobtrusive dropdown menus are prefered to full-screen modal popups so as not to disrupt the user's context.

Core principals

  • Responsive from the smallest of phones to the largest of multi-window 4K monitors.
  • Touch-first
  • No right clicks
  • No reliance on hover states
  • Allow for hold-to-drag, but also allow for tap/click-only alternatives
  • Minimal animations
  • Easily modify the styling using interchangeable themes.
  • Prefer a small inline dropdown over a context-changing modal popup.

Implementation

  • Surface-based background-color system
  • CSS variables
  • React Styled-components
  • Use of storybook to manage and visualize components outside of an application
  • Code sandbox examples for all components

FAQs

Package last updated on 10 Aug 2022

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