singlestage 0.1.1

A UI component library for Leptos based on Basecoat UI and shadcn/ui
docs.rs failed to build singlestage-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: singlestage-0.4.1

Singlestage UI

A familiar UI library for Leptos made with Tailwind CSS, Based on Basecoat, shadcn/ui, and Radix.

https://singlestage.doordesk.net

Introduction

Singlestage takes the familiar styling of Radix and shadcn/ui and brings it to Leptos. It takes a modular approach, meaning every component is feature flagged so you can take as much or as little as you need.

Each component tries to stay lean, using semantic HTML elements, modern APIs, and CSS instead of Rust code wherever possible. This keeps WASM binaries small while staying current with emerging accessibility features.

Features

  • Conforms to modern web standards
  • WAI-ARIA compliant
  • Focused on minimalism, modularity, and performance
  • Feature flagged components
  • Modular theme system
  • Dark mode that just works
  • Arbitrary theme support
  • HTML-like API

Install

Add singlestage with cargo: cargo add singlestage

Or add singlestage to your Cargo.toml:

# Cargo.toml

[dependencies]
leptos = "0.8"
...
singlestage = "0.1"

Nightly

# Cargo.toml
[dependencies]
leptos = { version = "0.8", features = ["nightly"] }
...
singlestage = {version = "0.1", features = ["nightly"] }

Add the nightly feature to singlestage just as you do with Leptos, if using nightly.

SSR

Nothing special needs to happen whether you you use SSR or not.

Contributing

Contributions are welcome.