Skip to content

Commit a0c28c4

Browse files
committed
Updated README.md a bit.
1 parent bb1eaa4 commit a0c28c4

File tree

1 file changed

+71
-14
lines changed

1 file changed

+71
-14
lines changed

README.md

Lines changed: 71 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,25 +64,82 @@ defineCustomElement('my-component', MyComponent);
6464

6565
### Core Components
6666
ZephyrJS comes with several pre-built components:
67-
```
68-
<zephyr-card>
69-
<zephyr-button>
70-
<zephyr-dropdown>
71-
<zephyr-input>
72-
<zephyr-modal-dialog>
73-
<zephyr-notification-box>
74-
<zephyr-user-profile>
75-
<zephyr-markdown-editor>
76-
<zephyr-markdown-renderer>
77-
<zephyr-kanban-board>
67+
```html
7868
<zephyr-accordion>
69+
<zephyr-accordion-item header="Section 1">
70+
Content for section 1.
71+
</zephyr-accordion-item>
72+
<zephyr-accordion-item header="Section 2">
73+
Content for section 2.
74+
</zephyr-accordion-item>
75+
</zephyr-accordion>
76+
7977
<zephyr-accordion-table>
78+
<!-- Define your table structure here -->
79+
</zephyr-accordion-table>
80+
81+
<zephyr-basic-card title="Card Title" content="This is a simple card."></zephyr-basic-card>
82+
83+
<zephyr-button label="Click Me"></zephyr-button>
84+
85+
<zephyr-card-group>
86+
<zephyr-basic-card title="Card 1" content="Content 1"></zephyr-basic-card>
87+
<zephyr-basic-card title="Card 2" content="Content 2"></zephyr-basic-card>
88+
</zephyr-card-group>
89+
8090
<zephyr-data-table>
81-
<zephyr-tree-table>
91+
<!-- Define your table structure here -->
92+
</zephyr-data-table>
93+
94+
<zephyr-dropdown>
95+
<option value="1">Option 1</option>
96+
<option value="2">Option 2</option>
97+
</zephyr-dropdown>
98+
99+
<zephyr-input type="text" placeholder="Enter text"></zephyr-input>
100+
101+
<zephyr-kanban-board>
102+
<!-- Define your Kanban board structure here -->
103+
</zephyr-kanban-board>
104+
82105
<zephyr-layout-component>
83-
<zephyr-timeline-component>
106+
<header slot="top"></header>
107+
<nav slot="left"></nav>
108+
<main slot="center"></main>
109+
</zephyr-layout-component>
110+
111+
<zephyr-markdown-editor></zephyr-markdown-editor>
112+
113+
<zephyr-markdown-renderer content='
114+
# Markdown Content
115+
This is some **markdown** content to render.'
116+
>
117+
</zephyr-markdown-renderer>
118+
119+
<zephyr-modal>
120+
<p>This is a modal content.</p>
121+
</zephyr-modal>
122+
123+
<zephyr-notification>
124+
<p>This is a notification message.</p>
125+
</zephyr-notification>
126+
84127
<zephyr-tabs>
85-
<zephyr-tooltip>
128+
<zephyr-tab name="Tab 1">
129+
Content for tab 1.
130+
</zephyr-tab>
131+
<zephyr-tab name="Tab 2">
132+
Content for tab 2.
133+
</zephyr-tab>
134+
</zephyr-tabs>
135+
136+
<zephyr-tooltip content="This is a tooltip">
137+
Hover over me
138+
</zephyr-tooltip>
139+
140+
<zephyr-tree-table>
141+
<!-- Define your tree table structure here -->
142+
</zephyr-tree-table>
86143
```
87144

88145
### Customization

0 commit comments

Comments
 (0)