{"repo":"jonmbake/react-terminal-ui","free":true,"listed":false,"github":"https://github.com/jonmbake/react-terminal-ui","clone":"git clone https://github.com/jonmbake/react-terminal-ui.git","description":"A terminal React component with support for light and dark modes.","language":"TypeScript","stars":280,"topics":["react","reactjs","react-component","terminal","javascript","light-mode","dark-mode","design"],"license":"MIT","category":"cli-tools","readme_excerpt":"React Terminal UI A terminal React component with support for light and dark modes. Styling is courtesy of termynal.js. Check out the Demo :heart eyes: Installation Usage React Terminal UI is a \"dumb component\"—it renders whatever props you pass in. Typically, you'll want a controller component to manage the terminal's state. For example: Component Props Name Description ---------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- name Name of the terminal. Displays at the top of the rendered component. In the demo, the name is set to React Terminal UI. colorMode Terminal color mode—either Light or Dark. Defaults to Dark. onInput An optional callback function that is invoked when a user presses enter on the prompt. The function is passed the current prompt input. If the onInput prop is not provided, the prompt input line will not display in the terminal. startingInputValue Starting input value. If this prop changes, any user-entered input will be overridden by this value. Defaults to an empty string ( \"\" ). prompt The prompt character. Defaults to $ . height Height of the terminal. Defaults to 600px . redBtnCallback Optional callback function for the red button. If provided, the function will be invoked when the red button is clicked. yellowBtnCallback Optional callback function for th","default_branch":null,"files":null,"tree":[],"storefront":"/r/jonmbake","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jonmbake/react-terminal-ui/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}