Socket
Book a DemoInstallSign in
Socket

@fedibtc/ui

Package Overview
Dependencies
Maintainers
4
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fedibtc/ui

UI components for Fedi Mods

1.2.3
latest
npmnpm
Version published
Maintainers
4
Created
Source

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")]
}

FAQs

Package last updated on 05 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.