CSS agnostic slider component for React