sud-ui
v1.1.6
Published
A React UI component library with dark mode support, customizable styles, reusable components, and utility-style class names.
Maintainers
Readme
Soon UI Design Library 
Soon UI Design (SUD) is a React UI library that helps you quickly build responsive and polished interfaces using reusable components and customizable design tokens.
✨ Features
- 🎨 Consistent design system with Tailwind-like syntax
- 🧩 50+ reusable components (Button, Modal, Table, etc.)
- 🌗 Light/Dark theme support
- ⚙️ Fully customizable theme and styles
- 🌀 Utility-first class support (e.g.,
pd-10,mg-4)
📦 Installation
npm install sud-ui🧪 Examples Built with Soon UI
Check out real projects built using the SUD component library:
👉 These showcase the flexibility and visual consistency of SUD components in actual products.
🚀 Quick Start
import React from "react";
import { Card, Typography, Avatar, Tag } from "sud-ui";
import { LogoGithub } from "sud-icons";
export default function App() {
return (
<Card
colorType="gold"
borderType="dashed"
borderWeight={2}
borderColor="red"
style={{
width: "100%",
}}
>
<div className="flex gap-10">
<Avatar colorType="orange" size="lg" />
<div className="flex flex-col gap-5">
<Typography suite="EB" size="2xl">
SeeUSoon
</Typography>
<Typography color="black-10">
Hello I'm SeeUSoon.
<br />
I'm Web Developer.
</Typography>
<Tag>
<a
href="https://github.com/SeeUSoon93"
target="_blank"
className="flex flex-row gap-5 item-cen"
>
<LogoGithub size="14" />
<Typography suite="EB">github.com/SeeUSoon93</Typography>
</a>
</Tag>
</div>
</div>
</Card>
);
}🧩 Components
Sud UI provides a comprehensive suite of ready-to-use components:
- Button – Styles, states, sizes
- Modal – Alert, confirm, custom modal
- Accordion, Tabs, Tooltip
- Table – Sort, filter, pagination
- Input, Select – Single/multi, number, password
- Toast, Notification, Spinner
- ...and 45+ more components
🎨 Theme & Customization
SUD provides full theming support via SoonUIDesign.
import { SoonUIDesign, defaultTheme, darkTheme } from "sud-ui";
const customTheme = {
...defaultTheme,
colors: {
ocean: {
1: "#e6f7ff",
2: "#b3e5ff",
3: "#80d3ff",
4: "#4dc2ff",
5: "#1ab0ff",
6: "#0096e6",
7: "#007abf",
8: "#005f99",
9: "#004473",
10: "#00294d",
},
},
components: {
button: {
primary: {
bg: "ocean-6",
txt: "white-10",
border: "ocean-7",
},
},
},
};
export default function App() {
const [isDarkMode, setIsDarkMode] = useState(false);
return (
<SoonUIDesign
theme={customTheme}
darkTheme={darkTheme}
isDarkMode={isDarkMode}
>
<Button onClick={() => setIsDarkMode(!isDarkMode)}>
Toggle Dark Mode
</Button>
</SoonUIDesign>
);
}📚 Documentation
📄 License
MIT License ©SeeUSoon93
