--- id: layoutDaySegments title: layoutDaySegments --- # Function: layoutDaySegments() ```ts function layoutDaySegments(events, options): EventLayout[]; ``` Defined in: [projection/layout.ts:238](https://github.com/TanStack/time/blob/main/packages/time/src/projection/layout.ts#L238) ## Parameters ### events [`LayoutInputEvent`](../interfaces/LayoutInputEvent.md)[] ### options [`LayoutOptions`](../interfaces/LayoutOptions.md) = `{}` ## Returns [`EventLayout`](../type-aliases/EventLayout.md)[]