templUI Pro coming soon  

50% OFF Join Waitlist

Drawer

Side-anchored panel that slides in from screen edges.

TailwindCSS
Alpine.js

Account

Make changes to your account here. Click save when you are done.

Usage

1. Add the script to your page/layout:

// Option A: All components (recommended)
@utils.ComponentScripts()

// Option B: Just Drawer
@components.DrawerScript()

2. Use the component:

@components.Drawer(components.DrawerProps{...})

Examples

Positions

Top Drawer

This drawer slides in from the top of the screen.

Right Drawer

This drawer slides in from the right side of the screen.

Bottom Drawer

This drawer slides in from the bottom of the screen.

Left Drawer

This drawer slides in from the left side of the screen.

© 2025 templui. Stupid code not excluded.