All Projects → frctl → Fractal

frctl / Fractal

Licence: mit
A tool to help you build and document website component libraries and design systems.

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to Fractal

Awesome Design Systems
A curated list of bookmarks, resources and articles about design systems focused on developers.
Stars: ✭ 222 (-88.92%)
Mutual labels:  design-systems, pattern-library
Nostyle
Design System
Stars: ✭ 101 (-94.96%)
Mutual labels:  design-systems, pattern-library
Design Systems Repo
A collection of Design System examples, resources, tools, articles and videos.
Stars: ✭ 95 (-95.26%)
Mutual labels:  design-systems, pattern-library
Awesome Design Systems
💅🏻 ⚒ A collection of awesome design systems
Stars: ✭ 13,308 (+564.4%)
Mutual labels:  design-systems, pattern-library
design-systems
A list of famous design systems, design languages and guidelines
Stars: ✭ 403 (-79.88%)
Mutual labels:  design-systems, pattern-library
Design System Starter
🚀 The Australian Government Design System - Starter
Stars: ✭ 61 (-96.95%)
Mutual labels:  design-systems, pattern-library
Patternlab Edition Node Webpack
The webpack wrapper around patternlab-node core, providing tasks to interact with the core library and move supporting frontend assets.
Stars: ✭ 122 (-93.91%)
Mutual labels:  design-systems, pattern-library
Css
The CSS design system that powers GitHub
Stars: ✭ 10,670 (+432.7%)
Mutual labels:  design-systems
Toolkit
Sky's CSS Toolkit
Stars: ✭ 126 (-93.71%)
Mutual labels:  design-systems
Django Pattern Library
UI pattern libraries for Django templates
Stars: ✭ 110 (-94.51%)
Mutual labels:  pattern-library
Tachyons Verbose
Functional CSS for humans. Verbose edition.
Stars: ✭ 102 (-94.91%)
Mutual labels:  design-systems
Vue Cion Design System
CION - Design system boilerplate for Vue.js
Stars: ✭ 119 (-94.06%)
Mutual labels:  design-systems
React
Modern and minimalist React UI library.
Stars: ✭ 2,546 (+27.11%)
Mutual labels:  design-systems
X0
Document & develop React components without breaking a sweat
Stars: ✭ 1,706 (-14.83%)
Mutual labels:  design-systems
Html Sketchapp
HTML to Sketch export solution
Stars: ✭ 1,811 (-9.59%)
Mutual labels:  design-systems
Balm Ui
♦️ A modular and customizable UI library based on Material Design and Vue
Stars: ✭ 133 (-93.36%)
Mutual labels:  design-systems
Tachyons
Functional css for humans
Stars: ✭ 11,057 (+452.02%)
Mutual labels:  design-systems
Evergreen
🌲 Evergreen React UI Framework by Segment
Stars: ✭ 11,340 (+466.15%)
Mutual labels:  design-systems
Ui Ux
📝 Curated list for UI/UX Designers
Stars: ✭ 125 (-93.76%)
Mutual labels:  design-systems
Figma Theme
Generate development-ready theme JSON files from Figma Styles
Stars: ✭ 130 (-93.51%)
Mutual labels:  design-systems

Fractal



Fractal is a tool to help you build and document web component libraries and design systems.

Read the full Fractal documentation

Introduction

Component (or pattern) libraries are a way of designing and building websites in a modular fashion, breaking up the UI into small, reusable chunks that can then later be assembled in a variety of ways to build anything from larger components right up to whole pages.

Fractal helps you assemble, preview and document website component libraries, or even scale up to document entire design systems for your organisation.

Check out the documentation for more information.

Requirements

You'll need a supported LTS version of Node. Fractal may work on unsupported versions, but there is no active support from Fractal and new features may not be backwards compatible with EOL versions of Node.

Getting started

Install into your project (recommended)

npm install @frctl/fractal --save-dev

Then create your fractal.config.js file in the project root, and configure using the official documentation.

Then you can either run npx fractal start to start up the project, or create an alias under the scripts section in your package.json as a shortcut.

e.g.

"scripts": {
    "fractal:start": "fractal start --sync",
    "fractal:build": "fractal build"
}

then

npm run fractal:start

Installing globally

npm i -g @frctl/fractal

This will also give you global access to the fractal command which you can use to scaffold a new Fractal project with fractal new.

The downside is that it's then difficult to use different Fractal versions on different projects.

This option is not recommended until a global Fractal install is capable of offloading to a project specific version.

Examples

  • Official demo (using Nunjucks): demo.fractal.build

    Repository: demo.fractal.build

  • Official examples are available in the examples directory. Although we primarily use them for developing and testing Fractal, they probably are a great resource for users as well.

  • Additional public examples can be found on the Awesome Fractal repo.

Contributing

Fractal has an active group of contributors but we are always looking for more help. If you are interested in contributing then please come and say hi on Fractal's Discord server.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Reporting issues & requesting features

We use GitHub issues to track bugs and feature requests. Thank your for taking the time to submit your issue in one of our repositories.

If you rather have a question, please ask it on our Discord server.

Submitting pull requests

We will always welcome pull requests on any of the frctl organisation repositories. Please submit PRs against main branch with an explanation of your intention.

We use conventional commits, which means that every pull request title should conform to the standard.

Development

This repository is a monorepo managed by Lerna. There is only one lockfile in root. This means that all packages must be installed in root, manually added to the packages' package.json files and then bootstrapped with lerna.

To do some work, run the following commands in root:

  1. npm ci
  2. npm run bootstrap

Testing

Fractal is a project that evolved rapidly and organically from a proof-of-concept prototype into a more stable, mature tool. Because of this it's currently pretty far behind where it should be in terms of test coverage. Any contributions on this front would be most welcome!

Existing tests can be run using the npm test command.

Contributors

Thanks goes to all wonderful people who have helped us out.

Contributions of any kind welcome!

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].