Explore all Lightview components powered by DaisyUI. Use the sidebar (>>) to
navigate to individual
component documentation, or browse just a few examples below and click on the ⓘ icons
to see more documentation.
Components can be used with multiple syntaxes. Choose your
style (Object DOM and HTML requires lightview-x):
await import('/components/actions/button.js');
const { $, tags } = Lightview;
const { div, Button } = tags;
const app = div({ style: 'padding: 1rem; display: flex; gap: 0.5rem;' },
Button({ color: 'primary' }, 'Save'),
Button({ variant: 'outline' }, 'Cancel')
);
$('#example').content(app);