Panel
Panel renders a framed container with border, background, padding, and shadow.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Framed container for grouped LUI content
Panel renders a framed container with border, background, padding, and shadow.
ui.panel({
width = 'lg',
className = 'm-0 w-full max-w-[980px]'
}, function()
ui.typography('Controls', {
variant = 'h3'
})
ui.text('Panel body')
end)
ui.panel(props?, children?)
lui.panel(props?, children?)
| Prop | Type | Description |
|---|---|---|
width | 'sm' | 'md' | 'lg' | Max width. Defaults to md. |
className | string | Appends to the default panel class. |
style, font, theme, vars | mixed | Common LUI styling props. |
Was this page helpful?
