diff --git a/admin/bando/Components.svelte b/admin/bando/Components.svelte index 6f8ba79..7200ec4 100644 --- a/admin/bando/Components.svelte +++ b/admin/bando/Components.svelte @@ -204,11 +204,14 @@ {#if show == "CODE"} - + {:else if show == "DOCS"} {#await load_docs(selected) then docs } {#if docs} + {:else} +

No Docs

+

This component is not documented yet.

{/if} {/await} {:else} diff --git a/admin/bando/demos/Icon.svelte b/admin/bando/demos/Icon.svelte index 86bafe7..3828d86 100644 --- a/admin/bando/demos/Icon.svelte +++ b/admin/bando/demos/Icon.svelte @@ -1,114 +1,46 @@ - - inactive = !inactive }> - - { message } - - - -{#each icons as name} - gen_code(name) }> - - {#if labels} - { name } - {/if} - -{:else} -

No Icons

-{/each} + +
size:
+
fill:
+
width:
+
color:
+
shadow:
+
tooltip:
+
tip_position:
+ + + + + +
+ +
+ diff --git a/admin/bando/demos/Icon.svelte.md b/admin/bando/demos/Icon.svelte.md new file mode 100644 index 0000000..81ff81b --- /dev/null +++ b/admin/bando/demos/Icon.svelte.md @@ -0,0 +1,5 @@ +# Icons by lucide + +The Bandolier includes the great icon collection from lucide to get you started. Probably every icon you could possibly need is in this collection, and there's a nice Icon Finder tool to find what you need at /admin/#/icons/. + +Using `Icon` is very simple. You find the name, and can set a size, whether it's inactive or not, and a few other options to control the appearance. In the Icon Finder you can click on an icon to copy the code for it.