Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DecorativeBox] Issue #179

Closed
btniq opened this issue Dec 9, 2023 · 6 comments
Closed

[DecorativeBox] Issue #179

btniq opened this issue Dec 9, 2023 · 6 comments
Labels
documentation Improvements or additions to documentation not an issue This doesn't seem right

Comments

@btniq
Copy link

btniq commented Dec 9, 2023

Hello, I am new to Radix ui, while trying the components with the documentation, I saw that the component named "DecorativeBox" gave an error in all kinds of scenarios, I think this is a mistake, information about the version and errors are as follows.


"@radix-ui/themes": "^2.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"node version": 18

does not provide an export named 'DecorativeBox'

nodule is not available for module and package and I could not find any information about it why there is no information about it or is it purely representative

@btniq btniq closed this as completed Dec 10, 2023
@btniq btniq reopened this Dec 10, 2023
@kotAPI
Copy link

kotAPI commented Dec 18, 2023

I'm not finding a component with that name anywhere in the codebase - can you add more steps on how to reproduce?

@vladmoroz
Copy link
Contributor

It's not exported in Radix Themes, it's just a component used in docs for illustrative purposes when demonstrating layout elements that don't have any visual aspect to them.

@vladmoroz vladmoroz added documentation Improvements or additions to documentation not an issue This doesn't seem right labels Jan 4, 2024
@aaa3334
Copy link

aaa3334 commented Jan 16, 2024

I am confused.. it is used in the examples everywhere but its not a part of the actual code?

@benoitgrelard
Copy link
Contributor

Yes it's a component that's only exposed to our docs MDX file so we can render it in our docs but it's not a component that intended to be part of the package for users to use.

@karol-may
Copy link

This is ridiculous. Why bother adding to examples sth i can't copy and try?

@kotAPI
Copy link

kotAPI commented Oct 30, 2024

This is ridiculous. Why bother adding to examples sth i can't copy and try?

You are free to copy it from the source code, library authors made a decision not to make it publicly usable, for whatever reason and it's totally alright.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation not an issue This doesn't seem right
Projects
None yet
Development

No branches or pull requests

6 participants