# feijoa-ui

> Feijoa UI is an all-in-one React component recipe-kit!

Latest version **0.0.6** (published 2023-11-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install feijoa-ui
pnpm add feijoa-ui
yarn add feijoa-ui
bun add feijoa-ui
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2023-11-24 |
| First published | 2023-08-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 136.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Matt Hamlin |
| Maintainers | matthamlin |

## Links

- npm: https://www.npmjs.com/package/feijoa-ui
- Repository: https://github.com/hamlim/feijoa-ui
- Homepage: https://github.com/hamlim/feijoa-ui#readme
- Issues: https://github.com/hamlim/feijoa-ui/issues
- npm.io page: https://npm.io/package/feijoa-ui

## Recent versions

- 0.0.6 (latest) — 2023-11-24
- 0.0.5 — 2023-11-17
- 0.0.4 — 2023-11-03
- 0.0.3 — 2023-10-24
- 0.0.2 — 2023-10-19
- 0.0.1 — 2023-10-18
- 0.0.0 — 2023-08-20

## README

# Feijoa UI

Feijoa UI is an all-in-one React component recipe-kit!

[Docs](https://feijoa-ui.vercel.app)

> 🚧 This package is still under active development and is considered in a
> pre-alpha stage

## Installation

```sh
# bun:
bun install feijoa-ui
# pnpm:
pnpm install feijoa-ui
# yarn:
yarn add feijoa-ui
# npm
npm install feijoa-ui
```

## Configuration:

### Next.js:

```ts
/** @type {import('next').NextConfig} */
module.exports = {
  experimental: {
    optimizePackageImports: ["feijoa-ui"],
  },
  transpilePackages: ["feijoa-ui"],
};
```

### Tailwind:

```ts
let path = require("path");

/** @type {import('tailwindcss').Config} */
module.exports = {
  darkMode: ["class"],
  content: [
    "./pages/**/*.{ts,tsx}",
    "./components/**/*.{ts,tsx}",
    "./app/**/*.{ts,tsx}",
    "./src/**/*.{ts,tsx}",
    // IMPORTANT! This is needed to ensure the styles are resolved correctly
    path.join(path.dirname(require.resolve("feijoa-ui")), "**/*.js"),
  ],
  theme: {
    container: {
      center: true,
      padding: "2rem",
      screens: {
        "2xl": "1400px",
      },
    },
    extend: {
      colors: {
        border: "hsl(var(--border))",
        input: "hsl(var(--input))",
        ring: "hsl(var(--ring))",
        background: "hsl(var(--background))",
        foreground: "hsl(var(--foreground))",
        primary: {
          DEFAULT: "hsl(var(--primary))",
          foreground: "hsl(var(--primary-foreground))",
        },
        secondary: {
          DEFAULT: "hsl(var(--secondary))",
          foreground: "hsl(var(--secondary-foreground))",
        },
        destructive: {
          DEFAULT: "hsl(var(--destructive))",
          foreground: "hsl(var(--destructive-foreground))",
        },
        muted: {
          DEFAULT: "hsl(var(--muted))",
          foreground: "hsl(var(--muted-foreground))",
        },
        accent: {
          DEFAULT: "hsl(var(--accent))",
          foreground: "hsl(var(--accent-foreground))",
        },
        popover: {
          DEFAULT: "hsl(var(--popover))",
          foreground: "hsl(var(--popover-foreground))",
        },
        card: {
          DEFAULT: "hsl(var(--card))",
          foreground: "hsl(var(--card-foreground))",
        },
      },
      borderRadius: {
        lg: "var(--radius)",
        md: "calc(var(--radius) - 2px)",
        sm: "calc(var(--radius) - 4px)",
      },
      keyframes: {
        "accordion-down": {
          from: { height: 0 },
          to: { height: "var(--radix-accordion-content-height)" },
        },
        "accordion-up": {
          from: { height: "var(--radix-accordion-content-height)" },
          to: { height: 0 },
        },
      },
      animation: {
        "accordion-down": "accordion-down 0.2s ease-out",
        "accordion-up": "accordion-up 0.2s ease-out",
      },
    },
  },
  plugins: [require("tailwindcss-animate")],
};
```

---
_Source: https://npm.io/package/feijoa-ui · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
