@@ -217,9 +217,9 @@ const DrawerCode = () => {
217217 </ div >
218218
219219 < div className = "main-content" >
220+ < h3 > Temporary Drawer</ h3 >
221+ < p > Opens on top of content, closes when clicking outside or selecting an item.</ p >
220222 < div className = "showcase" >
221- < h3 > Temporary Drawer</ h3 >
222- < p > Opens on top of content, closes when clicking outside or selecting an item.</ p >
223223 < div className = "items" >
224224 < SistentThemeProvider initialMode = { isDark ? "dark" : "light" } >
225225 < Button
@@ -241,9 +241,9 @@ const DrawerCode = () => {
241241 < CodeBlock name = "drawer-temporary" code = { codes [ 0 ] } />
242242 </ div >
243243
244+ < h3 > Anchor Positions</ h3 >
245+ < p > Drawers can slide in from any edge: left, right, top, or bottom.</ p >
244246 < div className = "showcase" >
245- < h3 > Anchor Positions</ h3 >
246- < p > Drawers can slide in from any edge: left, right, top, or bottom.</ p >
247247 < div className = "items" >
248248 < SistentThemeProvider initialMode = { isDark ? "dark" : "light" } >
249249 < Box sx = { { display : "flex" , gap : 1 , flexWrap : "wrap" } } >
@@ -269,9 +269,9 @@ const DrawerCode = () => {
269269 < CodeBlock name = "drawer-anchors" code = { codes [ 1 ] } />
270270 </ div >
271271
272+ < h3 > Persistent Drawer</ h3 >
273+ < p > Sits alongside content, can be toggled open/closed, and maintains state.</ p >
272274 < div className = "showcase" >
273- < h3 > Persistent Drawer</ h3 >
274- < p > Sits alongside content, can be toggled open/closed, and maintains state.</ p >
275275 < div className = "items" >
276276 < SistentThemeProvider initialMode = { isDark ? "dark" : "light" } >
277277 < Box sx = { { display : "flex" } } >
@@ -298,9 +298,9 @@ const DrawerCode = () => {
298298 < CodeBlock name = "drawer-persistent" code = { codes [ 2 ] } />
299299 </ div >
300300
301+ < h3 > Permanent Drawer</ h3 >
302+ < p > Always visible drawer pinned to the side. Ideal for desktop applications with consistent navigation.</ p >
301303 < div className = "showcase" >
302- < h3 > Permanent Drawer</ h3 >
303- < p > Always visible drawer pinned to the side. Ideal for desktop applications with consistent navigation.</ p >
304304 < div className = "items" >
305305 < SistentThemeProvider initialMode = { isDark ? "dark" : "light" } >
306306 < Box sx = { { display : "flex" , height : 300 , border : "1px solid #ddd" } } >
0 commit comments