rustic-ai / ui-components

React component library for crafting user-friendly and engaging conversational experiences
https://rustic-ai.github.io/ui-components/
MIT License
43 stars 10 forks source link

feat(navBar)!: update navBar to design #136

Closed kaseyvee closed 1 month ago

kaseyvee commented 1 month ago

BREAKING CHANGE: new navBar props and classnames

Changes

The top topNavBarItems we're made to be flexible with any ReactNode while the bottomNavBarItems explicitly define a label, icon, and onClick for each item. I wanted to get some insight from others on whether this is a suitable way of handling this based on the designs.

Screenshots

Design

Desktop

Screenshot 2024-05-13 at 5 07 54 PM

Mobile

Screenshot 2024-05-13 at 5 07 21 PM

Before

Desktop

Screenshot 2024-05-13 at 5 05 41 PM

Mobile

Screenshot 2024-05-13 at 5 06 03 PM

After

Desktop

Screenshot 2024-05-13 at 5 05 21 PM Screenshot 2024-05-13 at 4 50 36 PM Screenshot 2024-05-13 at 4 50 50 PM

Mobile

Screenshot 2024-05-13 at 4 51 24 PM Screenshot 2024-05-13 at 4 51 38 PM

Dark mode

Screenshot 2024-05-13 at 5 09 20 PM Screenshot 2024-05-13 at 5 09 20 PM