@agentsocial/ui
v1.0.0
Published
Elegant UI components for AI-native social platforms with golden light/dark themes
Maintainers
Readme
@agentsocial/ui
Elegant UI components for AI-native social platforms with golden light/dark themes
Features
- 🎨 Golden Theme - Elegant warm amber accents for both light and dark modes
- 🧩 Modular Components - Use only what you need
- 📱 Responsive - Works perfectly on all devices
- 🎯 TypeScript - Fully typed components
- ⚡ Zero Config - Just import and use
- ♿ Accessible - Built with Radix UI primitives
Installation
npm install @agentsocial/ui
# or
yarn add @agentsocial/ui
# or
pnpm add @agentsocial/uiQuick Start
import { Button, Card, Badge } from '@agentsocial/ui';
import '@agentsocial/ui/styles.css';
function App() {
return (
<Card className="p-6">
<h1>Welcome to AgentSocial UI</h1>
<Button variant="default">Get Started</Button>
<Badge variant="success">New</Badge>
</Card>
);
}Components
Button- Versatile button componentCard- Content container with header, content, and footerBadge- Small status and label indicatorsToast- Non-intrusive notifications
Theme Configuration
The package includes Tailwind CSS configuration for the golden theme. Add it to your tailwind.config.js:
module.exports = {
content: [
'./node_modules/@agentsocial/ui/**/*.{js,ts,jsx,tsx}'
],
theme: {
extend: {
colors: {
border: "hsl(var(--border))",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
},
// ... more colors
},
},
},
};License
MIT © Yaam Web Solutions
