@lodado/sdui-template-component
v1.0.0
Published
SDUI Component Library - Radix UI-based components for Server-Driven UI
Maintainers
Readme
@lodado/sdui-template-component
SDUI Component Library - Radix UI-based components for Server-Driven UI.
Installation
npm install @lodado/sdui-template-component
# or
pnpm add @lodado/sdui-template-component
# or
yarn add @lodado/sdui-template-componentUsage
import { Button } from '@lodado/sdui-template-component'
function App() {
return <Button variant="primary">Click me</Button>
}Components
Button
A flexible button component built with Radix UI primitives.
import { Button } from '@lodado/sdui-template-component'
<Button variant="primary" size="md" onClick={handleClick}>
Submit
</Button>Architecture
This library follows Feature-Sliced Design (FSD) architecture:
app/- Entry point and exportsfeatures/- Component features (Button, etc.)shared/- Shared utilities, hooks, and UI primitives
License
MIT
