Patterns
Live playground
Preview
Code
<volt-alert variant="info">
<volt-alert-title>Heads up</volt-alert-title>
<volt-alert-description>Your trial ends in three days.</volt-alert-description>
<volt-button slot="action" size="sm" variant="outline">Upgrade</volt-button>
</volt-alert>Built from
Install with the CLI
volt composition needs @voltui/cli 1.4.0 or later. The latest version on npm when this page was built was 1.3.3.recipes/live-playground. One command writes every file below and, in CLI-copy mode, the components it imports; components you customised are kept as they are.npx @voltui/cli composition add recipes/live-playground --mode=packagepackage · backend ng-primitives · needs @voltui/cli 1.4.0 or later.src/app/<folder>/ and copied components to src/app/ui/; choose others with --path and --ui. Add --dry-run to see every file first.--track to record what was installed; later, volt composition diff recipes/live-playground shows what you or the reference changed without touching your files.Usage
Install via CLI:
pnpm add @voltui/components lumen-iconsTypeScript
Loading editor…