# SliderTicks (@salmonui/inputs/slider)

> The SliderTicks interface of @salmonui/inputs/slider: Tick marks.

Canonical: https://salmonui.dev/docs/reference/inputs/slider/SliderTicks

```ts
import type { SliderTicks } from '@salmonui/inputs/slider';
```

Entry index: https://salmonui.dev/docs/reference/inputs/slider (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/slider.md).

## Reference

Kind: interface

```ts
interface SliderTicks {
    readonly placement?: 'before' | 'after' | 'both' | 'none' | undefined;
    readonly majorStep?: number | undefined;
    readonly minorStep?: number | undefined;
    readonly showMinor?: boolean | undefined;
    readonly formatOptions?: Intl.NumberFormatOptions | undefined;
}
```

Tick marks.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `placement` | `readonly placement?: 'before' \| 'after' \| 'both' \| 'none' \| undefined;` | optional | Side of the track. Default `'after'`. |
| `majorStep` | `readonly majorStep?: number \| undefined;` | optional | Distance between labelled major ticks. Default 10 (1 with `values`). |
| `minorStep` | `readonly minorStep?: number \| undefined;` | optional | Distance between minor ticks. Default 1. |
| `showMinor` | `readonly showMinor?: boolean \| undefined;` | optional | Draws minor ticks between the major ones. Default false. |
| `formatOptions` | `readonly formatOptions?: Intl.NumberFormatOptions \| undefined;` | optional | `Intl.NumberFormat` options of the tick labels. Default the slider's `formatOptions`. |
