dioxus-showcase 0.0.7

Facade crate for building storybook-style Dioxus showcases.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# dioxus-showcase

The user-facing facade crate.

This crate is the public API consumers import in application code. It re-exports the core types and macro surface, defines the `StoryArg` and `StoryProps` traits, supplies default argument generators for common Dioxus-friendly types, and provides the provider-wrapping preview component used by generated runtimes.

## Use It For

- `dioxus_showcase::prelude::*`
- `StoryArg`, `StoryArgs`, `StoryProps`, and `StoryVariant`
- `GeneratedStory` and `ShowcaseStoryFactory`
- `StoryPreviewContent`

## Mental Model

The macros generate helper symbols against this crate’s traits and types. The CLI later discovers the annotated functions and emits a showcase app that imports those helper symbols back out of the entry crate.

The complete API map is in [`../../docs/code-reference.md`](../../docs/code-reference.md).