0.0.11 • Published 4 years ago

react-schwanz-ui v0.0.11

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

react-schwanz-ui

Typed React UI components styled with Tailwind CSS utilities.

To use, you must at minimum import this module's utilities.css stylesheet.

If you are using this module in a project that already includes Tailwind CSS, import the stylesheet like so:

@tailwind base;
@tailwind components;
@tailwind utilities;

@import "/path/to/node_modules/react-schwanz-ui/dist/utilities.css";

In all other contexts, you may include this module's stylesheet as you normally would any other stylesheet. For example:

import * as React from "react";
import * as ReactDOM from "react-dom";
import { App } from ".";

import "/path/to/node_modules/react-schwanz-ui/dist/utilities.css";

ReactDOM.render(<App />, document.getElementById("app"));

If your project does not include Tailwind CSS, it is recommended that you also use the default base stylesheet:

import "/path/to/node_modules/react-schwanz-ui/dist/base.css";

Lastly, import any of the components as you normally would.

import { Button } from "react-schwanz-ui";

Available Components

import { Button } from "react-schwanz-ui";
import { Label } from "react-schwanz-ui";
import { MetaItems } from "react-schwanz-ui";
import { Select } from "react-schwanz-ui";
import { Textarea } from "react-schwanz-ui";
import { TextInput } from "react-schwanz-ui";
0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago