Natura11y is an Open Source Design Ecosystem
Natura11y is more than just a front-end framework—it's a design ecosystem. With Natura11y, you get practical, built-in solutions for some of the most intricate front-end concepts.
Here's what the Natura11y ecosystem includes:
Natura11y CDNs
Natura11y's CDNs deliver an abundance of easily customizable styles (CSS), baseline functionality (Javascript), and icons (font). These CDNs are a perfect fit for those who prefer not to tinker with Webpack.
Quick Start (CDN)Github Repos
Every source file for Natura11y is accessible on GitHub. These repositories are home to the core framework, Natura11y's React starter components, and the Natura11y icon library.
NPM Install
You can install Natura11y's source SCSS files via NPM. These files don't include the vanilla JavaScript or Webpack setup, ensuring nothing clashes with frameworks such as React.
Natura11y on NPM
Modernized Styles with Natura11y
Natura11y strives to incorporate the most contemporary, browser-friendly CSS specifications. Here are a few foundational features that contribute to Natura11y's CSS:
Natura11y's stylesheet originates from several Sass modules, arranged alphabetically for ease of access.
CSS Variables
You can conveniently customize Natura11y's default styles through CSS variables, also known as custom properties. Each CSS variable corresponds to a specific Sass module.
Customizing with CSS VariablesCascade Layers
At its core, Natura11y's CSS employs cascade layers: a recent enhancement to the CSS specification. cascade layers enhance styling predictability and semantics, drastically reducing the reliance on the
Using Cascade Layers!important
flag.Logical Properties
For directional property values, Natura11y utilizes CSS logical properties. These logical properties form an integral part of Natura11y's support for right-to-left languages.
RTL and Logical PropertiesTypography Scale
Natura11y's default font sizes are interrelated, ranging from the smallest to the largest. This simplifies the process of creating balanced typography. You can adjust all font sizes using one or two variables—either at the project level or at a specific breakpoint.
Natura11y's Type Scale
Quick Start with CDN
Get started with Natura11y by creating an HTML document using the code provided in Figure 2 (below). This code includes all the necessary CDN links, offering you instant access to Natura11y's ecosystem.
Line # | Details |
---|---|
3 | On the HTML tag, the |
13 | CDN Stylesheet link to Natura11y Icons, our very own open-source icon library. |
16 | CDN link to the framework's latest stable version of the core stylesheet. |
31 | CDN link to the framework's latest stable core Javascript file. |
That's all there is to it! With the necessary scripts properly set up, you're all set to start building with Natura11y. Next, explore how to customize the look and feel of your designs.