0.0.11 • Published 1 year ago

@halcyonapps/davai-react v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@halcyonapps/davai-react

Davai is a fully typed style system and accessible component library for React built on top of TailwindCSS.

Documentation

https://davai.style

Install

Davai consists of multiple packages which can be imported individually. To install the full React suite, simply install the @halcyonapps/davai-react package:

npm install @halcyonapps/davai-react
# or
yarn add @halcyonapps/davai-react

Getting Started

To use Davai, please do the following steps:

  1. Add Davai's node_modules files and TailwindCSS present to your tailwind.config.js:
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    // ...
    "../path/to/node_modules/@halcyonapps/**/*.js"
  ]
  // ...
  presets: [require("@halcyonapps/davai/tailwind.config")]
};
  1. Now you may start using Davai's components:
import { Box } from "@halcyonapps/davai-react";

const App = () => {
  return <Box bg="bg-blue-200" />;
};

export default App;
0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago