UiBox
UiBox is heavily inspired by Shadcn Ui from the web world. So Every component you see shared here, is also copyable straight from this website. We encourage the use of our components, but also easily provide the code for them, so you can customize as needed.
Code implmentations can be found inside the details blocks.
We are soon to support android for all of our components as well.
Components
Progress Bar
Image Here...
TIP
Please use a VStack to make it look much nicer.
VStack {
UiBox.ProgressBar()
}
Details
Button
Image Here...
Usage:
UiBox.Button()
Details
ComboBox
ComboBox is a small container, with a search bar at the top and options at the bottom.
Usage:
let string = """
[
{"id": 0, "name": "Option 1"}
]
"""
UiBox.ComboBox(dataString: <some string>)
Details
Calendar View
This is a simple calendar view that looks very nice.
Usage:
UiBox.CalendarView()
Details
Custom Containers
Input
::: info
This is an info box.
:::
::: tip
This is a tip.
:::
::: warning
This is a warning.
:::
::: danger
This is a dangerous warning.
:::
::: details
This is a details block.
:::
Output
INFO
This is an info box.
TIP
This is a tip.
WARNING
This is a warning.
DANGER
This is a dangerous warning.
Details
This is a details block.
More
Check out the documentation for the full list of markdown extensions.