jsweber/sea-lion-uix
About
React component library on Radix Primitives. Install packages on demand; use with theme or headless.
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en-US.md
Original中文 | English
Introduction
Sea-lion-uix (or x) is the next generation of sea-lion-ui, rebuilt on Radix Primitives. It ships 49 components—buttons, forms, layout, feedback, data display—each as a separate package for install-on-demand.
Features
- Independent packages: Install and upgrade per component; no bloat when used with other UI libraries
- Theme & Headless: Use with theme styles or in headless (unstyled) mode
- Theme panel: Visually tune brand colors, neutrals, dark mode, radius, fonts, shadows, and more
- Flexible API: asChild, Slot, exposed state; follows Radix’s styling approach
- Stack-friendly: Less + CSS custom properties; works with eslint-config-ali, iconfont
Environment Support
Browser coverage is in line with typical React libraries; see browsersl.ist (defaults) for a concrete query.
- Modern browsers
- Server-side Rendering
Edge |
Firefox |
Chrome |
Safari |
|---|---|---|---|
| last 2 versions | last 2 versions | last 2 versions | last 2 versions |
Installation
Install only the packages you need. No single “kitchen sink” bundle.
# Install a component (e.g. Button)
pnpm add @sea-lion/react-button
# Install Theme when you want default styles
pnpm add @sea-lion/react-theme
Without Theme, components run in headless mode (no default styles).
Quick Start
import { Theme } from "@sea-lion/react-theme";
import { Button } from "@sea-lion/react-button";
export default function App() {
return (
<Theme>
<Button>Click me</Button>
</Theme>
);
}
See the documentation for more components and examples.
Development
Requirements
- Node >= 18
- pnpm >= 9
Setup and run
git clone https://github.com/jsweber/sea-lion-uix.git
cd sea-lion-uix
pnpm install
pnpm dev
pnpm dev builds Theme assets and starts Storybook at http://localhost:6006.
Scripts
| Command | Description |
|---|---|
pnpm dev |
Build Theme and start Storybook |
pnpm build |
Build all packages and Theme |
pnpm build-storybook |
Build Storybook static output only |
pnpm publish-stable |
Build, run changeset, and publish |
Documentation (GitHub Pages)
- In repo Settings → Pages, set Source to GitHub Actions
- Push to
mainor run the “Deploy Storybook to GitHub Pages” workflow from Actions - Docs will be available at
https://<owner>.github.io/sea-lion-uix/
Contact
Questions or suggestions: [email protected].
License
Explore related projects
Loading…