Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/radiium/svxui


https://github.com/radiium/svxui

svelte svelte-component sveltekit ui-components

Last synced: 14 days ago
JSON representation

Awesome Lists containing this project

README

        

# svxui

Svxui is free and open-source UI component library for svelte app.

---

## Interactive [Documentation](https://svxui.vercel.app/)

## Features

### 23 customizable components:
- Type-safe with TypeScript.
- Most components are based on [Radix UI Themes](https://www.radix-ui.com/themes/docs/overview/getting-started).

### Accessible colors:
- Based on [Radix Colors](https://www.radix-ui.com/colors).
- Intuitive aliases `gray`/`primary`/`blue`/`green`/`yellow`/`orange`/`red`.

### Light & Dark themes:
- Prevent FLOUC (Flash Of Unstyled Content).
- Real time system theme tracking.
- ssr/ssg compatible

## Installation

```bash
npm install svxui
pnpm install svxui
yarn add svxui
```

## Development

### Install

```bash
pnpm install
```

### Serve docs site + lib

```bash
pnpm run dev
```

### Serve lib only

```bash
pnpm run dev:lib
```

## Credits

Some parts of this lib come from the following:
(thanks to the developers for their incredible work!)

- [Radix UI](https://www.radix-ui.com/)
- [Svecosystem](https://github.com/svecosystem)
- [sthemer](https://github.com/ivanhofer/sthemer)
- [svelte-portal](https://github.com/romkor/svelte-portal)
- [trap-focus-svelte](https://github.com/henrygd/trap-focus-svelte)
- [clsx](https://github.com/lukeed/clsx)