mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2025-12-08 09:12:29 +08:00
12 lines
569 B
Plaintext
12 lines
569 B
Plaintext
---
|
|
description: UI components and styling conventions
|
|
---
|
|
|
|
### UI Components
|
|
|
|
- Component folders under `app/components/**`; keep base primitives in `base/**` (buttons, icons, inputs, uploader, etc.).
|
|
- Larger features (chat, workflow) live in their own folders with `index.tsx` and submodules.
|
|
- Prefer colocated `style.module.css` or Tailwind classes. Global styles in `app/styles/**`.
|
|
- Use `app/components/base/toast` for error/display notifications.
|
|
- Avoid unnecessary client components; mark with `'use client'` only when needed (state, effects, browser APIs).
|