Basic usage
Installation#
YouEye provides a single component approach as an all-purpose UI building block. It is an implementation detail and not a runtime.
Currently, only styled-components are supported, but the plan is to extend support
for multiple solutions, such as Svelte, Vue JS and Native Web Components.
Please see the available implementation's details about installation.
Configuration#
Please see the CCSS documentation about the exact usage of these properties.
Import the ccss instance you need to configure.
The Ui component#
Once you imported the Ui component from the selected package, you can apply CSS using properties/attributes.
HTML tags#
Use the polymorphic as prop.
@you-eye/styled supports property based components:
<Ui.section />
For reusable component cases the preferred way to create a wrapper.
Live Editor
Result