Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@
[submodule "theme-rs"]
path = theme-rs
url = https://github.com/opensass/theme
[submodule "browser-rs"]
path = browser-rs
url = https://github.com/opensass/browser-rs
1 change: 1 addition & 0 deletions browser-rs
Submodule browser-rs added at 6163a0
1 change: 1 addition & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
- [Tooltip (TODO)]()
- [Navigation]()
- [Breadcrumbs (TODO)]()
- [Browser](./components/browser-rs.md)
- [Navbar](./components/navbar.md)
- [Pagination (TODO)]()
- [Sidebar](./components/sidebar.md)
Expand Down
2 changes: 1 addition & 1 deletion src/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
| Data Entry | `Checkbox`, `Form`, `Input`, `Listbox`, `OTP`, `Radio`, `Select`, `Slider`, `Switch` |
| Date & Time | `Calendar`, `Date`, `Time Input` |
| Feedback | `Alert`, `Progress`, `Skeleton`, `Spinner`, `Toast`, `Tooltip` |
| Navigation | `Breadcrumbs`, `Navbar`, `Pagination`, `Sidebar`, `Tabs` |
| Navigation | `Breadcrumbs`, `Browser` `Navbar`, `Pagination`, `Sidebar`, `Tabs` |
| Overlays | `Drawer`, `Dropdown`, `Modal`, `Popover` |
| Structure | `Divider`, `Spacer` |
| Utilities | `Autocomplete`, `Kbd`, `OTP` |
Expand Down
52 changes: 52 additions & 0 deletions src/components/browser-rs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Browser RS

{{#tabs }}

{{#tab name="Yew" }}

<a
href="https://github.com/opensass/browser"
class="mdbook-button"
target="_blank"
rel="noopener noreferrer"
title="Edit this component on GitHub"
role="button"
aria-label="Edit Component on GitHub">Edit Component
</a>

{{#include ../../browser-rs/YEW.md}}

## Usage

<iframe
src="https://browser-rs.netlify.app"
title="Browser RS Yew Examples"
loading="lazy"
allowfullscreen
aria-label="Live Yew example using Browser RS"
>
</iframe>

## CLI Usage

You can import Browser RS directly into your project to customize and modify it using the [opensass cli](https://github.com/opensass/cli):

```sh
os add browser-rs yew
```

{{#endtab}}

{{#tab name="Dioxus"}}

TODO

{{#endtab}}

{{#tab name="Leptos"}}

TODO

{{#endtab }}

{{#endtabs }}