CodShot
JavaScript Public

Simple React Footer

A basic React functional component for a website footer.

JavaScript
import React from 'react';

const Footer = () => {
  return (
    <footer style={{
      textAlign: 'center',
      padding: '1rem',
      backgroundColor: '#f1f1f1',
      position: 'fixed',
      bottom: 0,
      width: '100%'
    }}>
      <p>&copy; {new Date().getFullYear()} My Website. All rights reserved.</p>
    </footer>
  );
};

export default Footer;

Snippet actions

Pluto
Pluto
Updated: 2026-09-01 16:08
Public snippets
0
Forks
CodShot AI Help
Ask about CodShot features, plans, workspace, AI limits, referrals, and public help topics.
Hi! I can help you understand how CodShot works. What would you like to know?
For account-specific or sensitive issues, please open a support ticket. Open support