fuyukaki-ui
v0.3.5
Published
A modern, accessible React UI component library built with TypeScript and Tailwind CSS
Maintainers
Readme
fuyukaki-ui
Natural warmth for your interface.
A modern, accessible React UI component library built with TypeScript and Tailwind CSS, inspired by the warm, organic tones of nature.
Philosophy: Warm & Organic
"Digital interfaces that feel like soil and wood, not cold metal and glass."
fuyukaki-ui follows a unique "No Black, No Gray" design philosophy. Instead of sterile grays and harsh blacks, we use warm earth tones inspired by nature:
- 柿色 (Persimmon)
#EB6101- Our vibrant primary color - 葉色 (Leaf Green)
#6A8347- Natural green for positive actions - 渋色 (Shibu Brown)
#4E3D35- Warm brown replaces pure black for text - 生成り (Off White)
#FAF7F2- Paper-like background instead of stark white - 淡柿 (Pale Orange)
#FCEDE6- Gentle surface color
This creates interfaces that are easier on the eyes, feel more human, and stand out from the sea of monochrome UIs.
Who is this for?
Perfect for applications in:
- 🍽️ Food & Culinary - Restaurants, cafes, recipe sites
- 🌿 Lifestyle & Wellness - Organic products, yoga, meditation
- 🏯 Japanese & Traditional - Cultural sites, crafts, hospitality
- 🛍️ D2C & Artisan Brands - Handmade goods, natural products
Features
- 🎨 Warm Color Palette - No pure black or gray, only natural earth tones
- 🔒 TypeScript - Full type safety and IntelliSense support
- ♿ Accessible - WAI-ARIA compliant components
- 🎯 Headless Architecture - Flexible, unstyled primitives with pre-styled defaults
- 📦 Tree-shakeable - Import only what you need
- 🧪 Well-tested - Comprehensive test coverage with Vitest
- 📖 Documented - Interactive Storybook documentation
Installation
pnpm add fuyukaki-ui
# or
npm install fuyukaki-ui
# or
yarn add fuyukaki-uiSetup (Tailwind CSS v4)
Install Tailwind CSS v4:
pnpm add tailwindcss @tailwindcss/viteAdd the Tailwind plugin to your Vite config:
// vite.config.ts
import tailwindcss from '@tailwindcss/vite'
export default {
plugins: [tailwindcss()],
}Import the theme CSS in your main stylesheet:
/* src/styles.css */
@import "tailwindcss";
@import "fuyukaki-ui/theme.css";Then use components:
import { Button } from 'fuyukaki-ui'
function App() {
return (
<Button variant="primary" size="md">
Click me
</Button>
)
}The theme.css provides:
- CSS variables for theming (light/dark mode)
- Color palette integration with Tailwind CSS v4
- Automatic scanning of component classes via
@source
Components
Currently available components (21 total):
Display & Feedback
- Button - Flexible button with warm variants and organic shadows
- Badge - Small status indicators with natural color tones
- Card - Content containers with gentle surface backgrounds
- Alert - Notification components using earth-tone colors
- Avatar - User avatars with image, initials, and status indicators
- Progress - Progress bars with warm color variants
- Spinner - Loading spinners with customizable sizes
- Toast - Toast notifications with provider pattern
- Confetti - Celebration effects for success moments
- HidamariText - Animated gradient text with warm, organic color transitions
Forms
- Input - Text inputs with warm borders and focus states
- Textarea - Multi-line text areas with organic styling
- Checkbox - Checkboxes with persimmon accent color
- Radio / RadioGroup - Radio buttons with warm styling
- Switch - Toggle switches with leaf green active state
- Select - Native select dropdowns with organic borders
- Label - Form labels with consistent typography
Overlays & Navigation
- Dialog - Modal dialogs with warm shadows and backdrop blur
- Tooltip - Hover tooltips with smooth animations
- Dropdown Menu - Accessible dropdown menus with keyboard navigation
Data Display
- Table - Data tables with sortable columns and warm styling
All components follow the "No Black, No Gray" philosophy with warm, organic styling.
Development
Setup
# Install dependencies
pnpm install
# Run Storybook
pnpm storybook
# Run tests
pnpm test
# Build library
pnpm buildScripts
pnpm dev- Start development serverpnpm build- Build the librarypnpm test- Run testspnpm test:ui- Run tests with UIpnpm lint- Lint codepnpm lint:fix- Fix linting issuespnpm format- Format codepnpm storybook- Start Storybookpnpm build-storybook- Build Storybook for deployment
Tech Stack
- React 19 - UI library
- TypeScript - Type safety
- Tailwind CSS v4 - Styling
- Vite - Build tool
- Vitest - Testing framework
- Storybook - Documentation and development
- Biome - Linting and formatting
License
MIT © kaki0704
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
