MCPcopy Index your code
hub / github.com/Leaf-Computer/lumen-blocks

github.com/Leaf-Computer/lumen-blocks @v0.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.0 ↗ · + Follow
250 symbols 316 edges 50 files 6 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Lumen Blocks Logo

Lumen Blocks

Accessible, styled, opinionated components for Dioxus.


Lumen is an ARIA-accessible, styled, opinionated component library for Dioxus inspired by the shadcn UI project, and built on top of the Dioxus Primitives unstyled components library.

[!IMPORTANT] This library is still experimental. Expect bugs and breaking changes until a stable release is made.

Getting started

For installation instructions and getting started with your project, please visit our documentation: Installation Guide

Development

  1. Ensure you have the Dioxus toolchain.
  2. Run this to serve the base component preview site:
dx serve -p docsite --platform web

Acknowledgements

This project stands in the shoulders of giants, and we would like to acknowledge the following open-source projects:

  • Dioxus Primitives for the unstyled components library.
  • shadcn UI for the inspiration and overall structure.
  • Dioxus for the awesome framework, and several code examples that helped the development of this library.

Funding

If you find value in this project, please consider becoming a sponsor to support ongoing development and maintenance. Your contributions help ensure Lumen Blocks continues to evolve with new features and improvements!

License

All source-code for this project is licensed under the MIT license.

Any contribution intentionally submitted for inclusion in this repository, by you, shall be licensed as MIT, without any additional terms or conditions.

© All rights are reserved to Leaf Computer Corporation for the name "Lumen Blocks", and the "Lumen Blocks" logo.

Core symbols most depended-on inside this repo

use_unique_id
called by 31
blocks/src/lib.rs
use_id_or
called by 20
blocks/src/lib.rs
use_toast
called by 5
blocks/src/components/toast.rs
show
called by 4
blocks/src/components/toast.rs
find_title
called by 1
docsite/src/layouts/docs_layout.rs
make_docs
called by 1
docsite/docs/build.rs
classes
called by 1
blocks/src/components/toast.rs
content_classes
called by 1
blocks/src/components/side_sheet.rs

Shape

Function 162
Class 65
Enum 13
Method 10

Languages

Rust100%

Modules by API surface

blocks/src/components/side_sheet.rs26 symbols
blocks/src/components/dropdown.rs19 symbols
blocks/src/components/toast.rs17 symbols
blocks/src/components/context_menu.rs17 symbols
docsite/docs/src/doc_examples/form_examples.rs10 symbols
blocks/src/components/menubar.rs10 symbols
blocks/src/components/dialog.rs8 symbols
blocks/src/components/accordion.rs8 symbols
docsite/src/layouts/docs_layout.rs7 symbols
docsite/docs/src/doc_examples/button_examples.rs7 symbols
docsite/docs/src/doc_examples/toast_examples.rs6 symbols
docsite/docs/src/doc_examples/dropdown_examples.rs6 symbols

For agents

$ claude mcp add lumen-blocks \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact