Skip to content

AlanJhonatan/ignite-design-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

73 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Ignite Design System

A robust, type-safe Design System featuring design tokens, React components, and automated documentation. Built as a monorepo for maximum scalability and performance.

npm version License: MIT


πŸ—οΈ Architecture

This repository is managed as an npm monorepo using TurboRepo for optimized task execution and Changesets for automated versioning and publishing.

  • @zizao/tokens: Core design tokens (colors, spacing, fonts, etc.).
  • @zizao/react: Component library built with Stitches and Radix UI.
  • @zizao/docs: Documentation site and interactive playground powered by Storybook.
  • @zizao/eslint-config / @zizao/ts-config: Shared development configurations.

πŸ› οΈ Tech Stack


✨ Features

🎨 Design Tokens

Fully configurable tokens for:

  • Colors: Custom palette with primary brand colors.
  • Typography: Fonts, font sizes, font weights, and line heights.
  • Layout: Spacing scale, border radii, and breakpoints.

🧩 Components

Accessible and highly customizable React components:

  • Layout: Box, Text, Heading
  • Actions: Button
  • Forms: TextInput, TextArea, Checkbox
  • Display: Avatar, MultiStep

πŸš€ Getting Started

Prerequisites

  • Node.js (LTS recommended)
  • npm (Workspaces support)

Installation

Clone the repository and install dependencies:

npm install

Development

Run all packages in parallel (TurboRepo):

npm run dev

Build

Generate production-ready bundles:

npm run build

πŸ“¦ Usage

Importing Components

import { Button, Text } from '@zizao/react'

export function App() {
  return (
    <Button variant="primary">
      <Text size="sm">Click Me</Text>
    </Button>
  )
}

Using Tokens

import { colors, space } from '@zizao/tokens'

const myStyle = {
  backgroundColor: colors.ignite500,
  padding: space[4],
}

🚒 Publishing

This project uses Changesets for automated versioning.

  1. Create a changeset: npm run changeset
  2. Update versions: npm run version-packages
  3. Publish to npm: npm run release

πŸ“„ License

Distributed under the MIT License. See LICENSE for more information.


Built with ❀️ as part of hours studying from Rocketseat contents.

About

Robust Design System architecture: Design Tokens, Accessible React Components, and Storybook documentation in a high-performance monorepo. 🎨

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors