Treno UI screenshot

Treno UI

Author Avatar Theme by Hottomato c
Updated: 23 Jan 2019
11 Stars

Vue 2.x UI Kit

Categories

Overview

The Treno Drawer is a versatile component designed for modern web applications, particularly when building user interfaces with frameworks like Nuxt.js. Its customizable nature allows developers to seamlessly integrate it into their projects, enhancing user experience through its various features aimed at controlling visibility and positioning.

This tool stands out with its easy setup and numerous configuration options, making it a great choice for both novice and seasoned developers. Whether you’re looking to enhance your app’s navigation or simply need a space-saving solution for content display, the Treno Drawer offers a robust set of functionalities that cater to various design needs.

Features

  • V-Model Support: Enables simple state management by tying the drawer’s visibility to a boolean value, allowing for easy integration into your app’s logic.
  • Customizable Width: Set the width of the drawer using either a fixed pixel value or a responsive string, such as “30vw” or “50%”, to fit your design.
  • Positioning Options: Choose from four different positions (right, top, left, bottom) to suit your layout and user interaction preferences.
  • Auto Hide Feature: Configurable to automatically collapse the drawer on clicking the overlay, providing a smooth user experience.
  • Close Button Option: Decide whether to show or hide the close button, giving you control over the drawer’s interaction design.
  • Custom Class Support: Allows you to apply additional styles to the drawer by setting a custom class, enabling better integration with your overall design.
  • Before Close Callback: Implement a callback function that runs before the drawer closes, providing an opportunity to interrupt the close action if necessary.
  • Event Listeners: Access events that trigger upon opening and closing, allowing you to execute additional logic tied to the drawer’s state changes.