Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Container and Page components #5

Merged
merged 5 commits into from
Nov 28, 2023
Merged

Add Container and Page components #5

merged 5 commits into from
Nov 28, 2023

Conversation

wpalani
Copy link
Member

@wpalani wpalani commented Nov 24, 2023

This PR aims to add two layout components to the UI library to be used in the consuming plugins:

  1. Page: Higher level content wrapper for the individual pages, the component is pre-configured with a mobile-first layout but can be changed by passing tailwind classes.
  2. Container: The container represents the content blocks going in the plugins pages. It provides the following sub-components to aid with the different types of layouts currently being used: Header, Block and SettingsField. The components also accept children so it's not limited to the sub-components.

@wpalani wpalani merged commit 760ce24 into dev Nov 28, 2023
@wpalani wpalani deleted the add/container-component branch November 28, 2023 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants