Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Graviton-Code-Editor/drac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

82 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’…πŸ» Drac

Drac is the Design system used in Graviton Editor. This package is a set of PuffinJS components.

🌱 Components

  • Button
  • Card
  • Radio Group
  • Navigation Bar
  • Text
  • H1...H6 titles
  • Input
  • TextArea

🍜 Usage

Installation:

npm install @mkenzo_8/puffin-drac

Example:

import { element } from '@mkenzo_8/puffin'
import { Button } from '@mkenzo_8/puffin-drac'

const helloButton = () => {
	return element({
		components: {
			Button
		}
	})`
		<Button>Hello World</Button>
	`
}

⚠ Warning

I do not consider myself an UI designer.

πŸ€” Testing

Clone the repository:

git clone https://github.com/Graviton-Code-Editor/drac.git

Install dependencies:

npm install

Test it:

npm test