You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte-kit-vice/src/uix/eidos/components/svg/index.ts

24 lines
1.1 KiB

/**
* Eidos SVG primitives — minimal hand-crafted shapes for component
* internals (accordion chevron, dropdown caret, close glyph, etc).
*
* Distinction from `$uix/eidos/components/icon`:
* - `icon/` ships ~1700 lucide glyphs as a CHOICE library for consumers
* - `svg/` ships baseline shapes that other eidos components NEED to
* render their own UI affordances. Smaller, opinionated, no
* Apache lucide dependency.
*
* All primitives:
* - default to `1em` size (inherit from font-size)
* - use `stroke="currentColor"` so colour follows ambient text colour
* - emit `data-svg="{name}"` for selector hooks
*/
export { default as SvgChevron } from './svg-chevron.svelte';
export { default as SvgCheck } from './svg-check.svelte';
export { default as SvgDash } from './svg-dash.svelte';
export { default as SvgDot } from './svg-dot.svelte';
export { default as SvgX } from './svg-x.svelte';
export { default as SvgPlus } from './svg-plus.svelte';
export { default as SvgMinus } from './svg-minus.svelte';
export type { SvgPrimitiveProps, SvgChevronDirection } from './types';

Powered by TurnKey Linux.