Tayo
v1.0
Toggle sidebar
Tayo

Colour Palettes

Pass a named palette to the colors prop, or supply your own hex array.

Default

colors="default"

Ocean

colors="ocean"

Vivid

colors="vivid"

Pastel

colors="pastel"

Warm

colors="warm"

Cool

colors="cool"

Rose

colors="rose"

Slate

colors="slate"

Custom colours

Pass an array of hex strings to use your own brand colours.

blade
<x-tayo::chart
    :colors="['#6366f1', '#f59e0b', '#10b981', '#ef4444']"
    ...
/>