1.2.2 • Published 1 year ago

@fedibtc/ui v1.2.2

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

Fedi UI Components

Beautiful React Components for building Fedi Mods.

Getting Started

1. Install the UI Library

Install the package from the command line

npm install @fedibtc/ui

2. Import Styles

Import the required index.css file into your app's layout.

import "@fedibtc/ui/dist/index.css"

3. Start Building

Start using the components in your app.

import { Button, Text } from "@fedibtc/ui"

export default function App() {
  return (
    <main>
      <Button>Click me</Button>
      <Text variant="h1" weight="bolder">
        Hi there!
      </Text>
    </main>
  )
}

Tailwind Theme

Use the @fedibtc/tailwind-theme plugin to start using themed TailwindCSS classes.

1. Set up TailwindCSS

Install and set up Tailwind CSS with PostCSS and Autoprefixer if you haven't already.

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p

2. Install the Plugin

Install the plugin from the command line

npm install @fedibtc/tailwind-theme

3. Add it to tailwind.config.js

Import and add the plugin to the plugins entry in tailwind.config.js

// tailwind.config.js
module.exports = {
+  plugins: [require("@fedibtc/tailwind-theme")]
}

Links

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.1

1 year ago

1.1.2

1 year ago

1.1.0

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.0-beta-8

2 years ago

0.0.0-beta-9

2 years ago

0.0.0-beta-6

2 years ago

0.0.0-beta-7

2 years ago

0.0.0-beta-5

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

0.0.0-beta-2

2 years ago

0.0.0-beta-1

2 years ago

0.1.0-beta-2

2 years ago

0.1.0-beta-1

2 years ago

0.1.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.0-beta-10

2 years ago

0.0.0-beta.1

2 years ago

0.0.0-beta-12

2 years ago

0.0.5

2 years ago

0.0.0-beta-11

2 years ago

0.0.0-beta.0

2 years ago

0.0.6

2 years ago

0.0.1

2 years ago