@raydenui/ui 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,9 @@ A modern, accessible React component library built with Tailwind CSS v4. Rayden
7
7
 
8
8
  ## Features
9
9
 
10
- - **15+ Production-Ready Components** — Buttons, Inputs, Tabs, Alerts, and more
10
+ - **24+ Production-Ready Components** — Buttons, Inputs, Tables, Selects, Sidebars, and more
11
+ - **Pre-built Blocks** — Login forms, notifications, tables, and more ready to drop in
12
+ - **AI Compatibility** — `@raydenui/ai` package for reliable LLM code generation
11
13
  - **Tailwind CSS v4** — Modern styling with custom design tokens
12
14
  - **Fully Typed** — Complete TypeScript support with exported types
13
15
  - **Accessible** — Built with ARIA attributes and keyboard navigation
@@ -84,10 +86,12 @@ function App() {
84
86
  | [Button](./docs/components/Button.md) | Primary action buttons with variants and icon support |
85
87
  | [ButtonGroup](./docs/components/ButtonGroup.md) | Horizontal grouping of related buttons |
86
88
  | [Input](./docs/components/Input.md) | Text input with label, helper text, and validation states |
89
+ | [Select](./docs/components/Select.md) | Dropdown select with icons, avatars, and status indicators |
87
90
  | [Checkbox](./docs/components/FormControl.md#checkbox) | Checkbox input with label and description |
88
91
  | [Radio](./docs/components/FormControl.md#radio) | Radio button input with label and description |
89
92
  | [Toggle](./docs/components/FormControl.md#toggle) | Switch/toggle input for boolean values |
90
93
  | [Chip](./docs/components/Chip.md) | Compact input tags with close/filter actions |
94
+ | [FileUpload](./docs/components/FileUpload.md) | Drag-and-drop file upload with progress and states |
91
95
 
92
96
  ### Navigation
93
97
 
@@ -96,6 +100,19 @@ function App() {
96
100
  | [Tabs](./docs/components/Tabs.md) | Tabbed navigation with line and pill variants |
97
101
  | [Breadcrumb](./docs/components/Breadcrumb.md) | Hierarchical page navigation |
98
102
  | [Pagination](./docs/components/Pagination.md) | Page navigation with prev/next controls |
103
+ | [SidebarMenu](./docs/components/SidebarMenu.md) | Collapsible sidebar navigation with sections |
104
+ | [DropdownMenu](./docs/components/DropdownMenu.md) | Accessible dropdown menu with keyboard navigation |
105
+
106
+ ### Data Display
107
+
108
+ | Component | Description |
109
+ |-----------|-------------|
110
+ | [Table](./docs/components/Table.md) | Data table with sorting, selection, and avatars |
111
+ | [Avatar](./docs/components/Avatar.md) | User avatar with image, initials, icon, and status |
112
+ | [ActivityFeed](./docs/components/ActivityFeed.md) | Activity timelines and notification feeds |
113
+ | [MetricsCard](./docs/components/MetricsCard.md) | Dashboard metric cards with 6 layout variations |
114
+ | [Icon](./docs/components/Icon.md) | 200+ icons with outline and solid variants |
115
+ | [EmptyStateIllustration](./docs/components/EmptyStateIllustration.md) | 19 empty state illustrations with custom palettes |
99
116
 
100
117
  ### Feedback
101
118
 
@@ -113,6 +130,62 @@ function App() {
113
130
  |-----------|-------------|
114
131
  | [Divider](./docs/components/Divider.md) | Content separator with optional label/button |
115
132
 
133
+ ## Blocks
134
+
135
+ Pre-built UI patterns combining multiple components for common use cases. [View all blocks →](./docs/blocks.md)
136
+
137
+ | Block | Description |
138
+ |-------|-------------|
139
+ | [LoginBlock](./docs/blocks.md#loginblock) | Complete login form with social providers |
140
+ | [NotificationsBlock](./docs/blocks.md#notificationsblock) | Notification feed with actions and timestamps |
141
+ | [TableBlock](./docs/blocks.md#tableblock) | Full-featured data table with search and filters |
142
+ | [QuickSendBlock](./docs/blocks.md#quicksendblock) | Quick send interface for payments/transfers |
143
+ | [RecentTransactionsBlock](./docs/blocks.md#recenttransactionsblock) | Transaction history display |
144
+ | [EmptyStateBlock](./docs/blocks.md#emptystateblock) | Empty state with illustration and CTA |
145
+ | [SearchableTableBlock](./docs/blocks.md#searchabletableblock) | Table with integrated search |
146
+
147
+ ```tsx
148
+ import { LoginBlock, NotificationsBlock } from "@raydenui/ui";
149
+
150
+ function App() {
151
+ return (
152
+ <LoginBlock
153
+ variant="split"
154
+ onSubmit={handleLogin}
155
+ socialProviders={["google", "github"]}
156
+ />
157
+ );
158
+ }
159
+ ```
160
+
161
+ ## AI Integration
162
+
163
+ The `@raydenui/ai` package enables LLMs to reliably generate Rayden UI code without hallucination.
164
+
165
+ ```bash
166
+ pnpm add @raydenui/ai
167
+ ```
168
+
169
+ ### Features
170
+
171
+ - **Component Manifests** — Structured definitions of all components, props, and examples
172
+ - **Design Tokens** — Complete token system in JSON format
173
+ - **Composition Rules** — Guidelines for combining components correctly
174
+ - **MCP Server** — Model Context Protocol server for AI assistants
175
+
176
+ ### Usage with AI Assistants
177
+
178
+ Add the rules to your AI assistant's context:
179
+
180
+ ```tsx
181
+ import { RAYDEN_RULES } from "@raydenui/ai/rules";
182
+
183
+ // Or use the MCP server for Claude, Cursor, etc.
184
+ // npx rayden-ai-mcp
185
+ ```
186
+
187
+ See the full [AI Integration Guide](./docs/rayden-ai.md) for setup instructions.
188
+
116
189
  ## Design Tokens
117
190
 
118
191
  Rayden UI includes a complete design token system extracted from the Rayna UI Figma design system.