🎨UI Components

For consistency, it is recommend to reuse the UI components currently in the Sunflower Land repository. This makes it quick and easy to build out beautiful user interfaces for your Portal!

  • Labels

  • Modals

  • Buttons

  • Panels

  • Icons

These components are readily available to use inside of your portal.


 <Modal centered show>
            <div className="p-2">
              <Label type="danger">Error</Label>
              <span className="text-sm my-2">Your session has expired</span>
            <Button onClick={() => console.log("Clicked"}>Login</Button>

Custom Styles

By default, Sunflower Land uses the styles.css file to specify custom global CSS styles. You can update this file if you wish to override any existing styles.

Last updated